We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65c15d7 commit 39c5b07Copy full SHA for 39c5b07
include/mallocMC/creationPolicies/FlatterScatter.hpp
@@ -117,7 +117,7 @@ namespace mallocMC::CreationPolicies::FlatterScatterAlloc
117
*
118
* @return Number of access blocks in the heap.
119
*/
120
- ALPAKA_FN_INLINE ALPAKA_FN_ACC static constexpr auto numBlocks(auto heapSize) -> uint32_t
+ ALPAKA_FN_INLINE ALPAKA_FN_HOST_ACC static constexpr auto numBlocks(auto heapSize) -> uint32_t
121
{
122
return heapSize / T_HeapConfig::accessblocksize;
123
}
0 commit comments