intel / intel/llvm

Support buffer location on CUDA

Open
#5,827 10 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.