We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 65c15d7 + 39c5b07 commit c63b20bCopy full SHA for c63b20b
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