diff --git a/Grid/threads/Accelerator.h b/Grid/threads/Accelerator.h index b6212929..2aeb9fa7 100644 --- a/Grid/threads/Accelerator.h +++ b/Grid/threads/Accelerator.h @@ -526,7 +526,7 @@ inline void acceleratorFreeCpu (void *ptr){free(ptr);}; ////////////////////////////////////////////// #ifdef GRID_SYCL -inline void acceleratorFenceComputeStream(void){ theGridAccelerator->submit_barrier();}; +inline void acceleratorFenceComputeStream(void){ theGridAccelerator->ext_oneapi_submit_barrier(); }; #else // Ordering within a stream guaranteed on Nvidia & AMD inline void acceleratorFenceComputeStream(void){ };