1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-18 07:47:06 +01:00

Sycl happier

This commit is contained in:
u61464
2021-03-03 11:21:43 -08:00
parent 442336bd96
commit 679d1d22f7
13 changed files with 64 additions and 48 deletions

View File

@ -456,7 +456,7 @@ accelerator_inline void acceleratorSynchronise(void)
__syncwarp();
#endif
#ifdef GRID_SYCL
// No barrier call on SYCL?? // Option get __spir:: stuff to do warp barrier
cl::sycl::detail::workGroupBarrier();
#endif
#ifdef GRID_HIP
__syncthreads();