Skip to content

Commit 9356cf4

Browse files
Fix Intel GPU detection
1 parent 59243ff commit 9356cf4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/alpaka/nbody/nbody.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ struct MoveKernel
231231
};
232232

233233
template<typename Acc>
234-
constexpr auto hasSharedMem = alpaka::accMatchesTags<Acc, alpaka::TagGpuCudaRt, alpaka::TagGpuHipRt>;
234+
constexpr auto hasSharedMem
235+
= alpaka::accMatchesTags<Acc, alpaka::TagGpuCudaRt, alpaka::TagGpuHipRt, alpaka::TagGpuSyclIntel>;
235236

236237
template<typename Acc, Mapping MappingGM, Mapping MappingSM>
237238
void run(std::ostream& plotFile)

0 commit comments

Comments
 (0)