SYCLomatic icon indicating copy to clipboard operation
SYCLomatic copied to clipboard

migration of stream-ordered functions

Open jinz2014 opened this issue 1 year ago • 2 comments

Could you please bring the SYCL support to the compiler people for cudaDeviceGetDefaultMemPool, cudaMallocAsync, cudaFreeAsync ?

Thanks

Reference https://developer.nvidia.com/blog/using-cuda-stream-ordered-memory-allocator-part-1/ https://github.com/NVIDIA/cuda-samples/tree/master/Samples/2_Concepts_and_Techniques/streamOrderedAllocation

jinz2014 avatar Apr 11 '24 21:04 jinz2014

Interesting.. +1

oscarbg avatar Apr 13 '24 22:04 oscarbg

@jinz2014

  1. The compiler team is aware of this language gap.
  2. As a WA in SYCLomatic side, we can consider removing the cudaDeviceGetDefaultMemPool call. For cudaMallocAsync and cudaFreeAsync, we can map them to the sync APIs on the SYCL side.

tomflinda avatar Jun 05 '24 02:06 tomflinda