File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ namespace mallocMC
131131
132132#ifdef ALPAKA_ACC_GPU_CUDA_ENABLED
133133 template <typename TDim, typename TIdx>
134- ALPAKA_FN_ACC inline auto smid (alpaka::AccGpuCudaRt<TDim, TIdx> const & /* acc*/ ) -> uint32_t
134+ inline __device__ auto smid (alpaka::AccGpuCudaRt<TDim, TIdx> const & /* acc*/ ) -> uint32_t
135135 {
136136 std::uint32_t mysmid = 0 ;
137137 asm (" mov.u32 %0, %%smid;" : " =r" (mysmid));
@@ -154,7 +154,7 @@ namespace mallocMC
154154 }
155155#ifdef ALPAKA_ACC_GPU_CUDA_ENABLED
156156 template <typename TDim, typename TIdx>
157- ALPAKA_FN_ACC inline auto lanemask_lt (alpaka::AccGpuCudaRt<TDim, TIdx> const & /* acc*/ )
157+ inline __device__ uint32_t lanemask_lt (alpaka::AccGpuCudaRt<TDim, TIdx> const & /* acc*/ )
158158 {
159159 std::uint32_t lanemask;
160160 asm (" mov.u32 %0, %%lanemask_lt;" : " =r" (lanemask));
You can’t perform that action at this time.
0 commit comments