We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f0ba695 + b968bc7 commit fb5f1daCopy full SHA for fb5f1da
include/mallocMC/creationPolicies/FlatterScatter/AccessBlock.hpp
@@ -147,7 +147,7 @@ namespace mallocMC::CreationPolicies::FlatterScatterAlloc
147
*
148
* @return The number of pages in the access block.
149
*/
150
- ALPAKA_FN_INLINE ALPAKA_FN_ACC constexpr static auto numPages() -> uint32_t
+ ALPAKA_FN_INLINE ALPAKA_FN_HOST_ACC constexpr static auto numPages() -> uint32_t
151
{
152
constexpr auto numberOfPages = blockSize / (pageSize + sizeof(PageTable<1>));
153
// check that the page table entries does not have a padding
0 commit comments