Skip to content

Commit 39c5b07

Browse files
committed
Add missing HOST_ACC
1 parent 65c15d7 commit 39c5b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mallocMC/creationPolicies/FlatterScatter.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ namespace mallocMC::CreationPolicies::FlatterScatterAlloc
117117
*
118118
* @return Number of access blocks in the heap.
119119
*/
120-
ALPAKA_FN_INLINE ALPAKA_FN_ACC static constexpr auto numBlocks(auto heapSize) -> uint32_t
120+
ALPAKA_FN_INLINE ALPAKA_FN_HOST_ACC static constexpr auto numBlocks(auto heapSize) -> uint32_t
121121
{
122122
return heapSize / T_HeapConfig::accessblocksize;
123123
}

0 commit comments

Comments
 (0)