Extend and generalize allowscalar to memory transfers
Open
cuda array
enhancement
- Dominant language
- Julia
- Stars
- 1.4k
- Forks
- 281
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 30
Description
Idea from Elliot: a mode for asserting or warning about memory transfers, which are often unwanted. E.g., `CuArrays.allowtransfer(:Bool)`, `CuArrays.@allowtransfer`, `CuArrays.@asserttransfer`.
We should also think about which packages export these functions. They can live in GPUArrays, like `allowscalar` does right now, but I feel like users shouldn't have to import any other package except CuArrays (cf. not having to import CUDAdrv in https://github.com/JuliaGPU/CuArrays.jl/issues/179).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.