oneapi-src / unified-runtime

https://oneapi-src.github.io/unified-runtime/
Other
29 stars 99 forks source link

`prefetch` on sycl with cuda backend on Windows #1700

Open mmoadeli opened 4 weeks ago

mmoadeli commented 4 weeks ago

Windows doesn't support cudaMemPrefetchAsync() which is used in the call to prefetch. Would be a need to investigate alternatives for Windows.

https://github.com/intel/llvm/pull/13957 may be used to further information.

JackAKirk commented 3 weeks ago

Is this not already dealt with by https://github.com/oneapi-src/unified-runtime/blob/f06bc02a24418990ecb9d41471b729f32aebd804/source/adapters/cuda/enqueue.cpp#L1644

Or maybe we need a similar fix in other parts of the code?