Support buffer location on CUDA
Open
cuda
enhancement
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
Cuda support allocation in global memory and cache, the ask is to let cuda usm allocation reserve cache memory when buffer location property of value of 4 is passed in.
change will need to be made here: https://github.com/intel/llvm/blob/d47dda38266e5408c055e89cb5998c38d6966366/sycl/plugins/cuda/pi_cuda.cpp#L4573-L4593
```
enum class target {
device,
host_task,
global_buffer = device, // Deprecated
constant_buffer, // Deprecated
local, // Deprecated
host_buffer // Deprecated
};
```
Contributor guide
Assessment
This issue has not been assessed yet.