1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Weaken the Fence

This commit is contained in:
Peter Boyle 2023-03-29 18:58:51 -04:00
parent 10e6d7c6ce
commit 496d04cd85

View File

@ -525,7 +525,7 @@ inline void acceleratorFreeCpu (void *ptr){free(ptr);};
////////////////////////////////////////////// //////////////////////////////////////////////
#ifdef GRID_SYCL #ifdef GRID_SYCL
inline void acceleratorFenceComputeStream(void){ accelerator_barrier();}; inline void acceleratorFenceComputeStream(void){ theGridAccelerator->submit_barrier();};
#else #else
// Ordering within a stream guaranteed on Nvidia & AMD // Ordering within a stream guaranteed on Nvidia & AMD
inline void acceleratorFenceComputeStream(void){ }; inline void acceleratorFenceComputeStream(void){ };