JuliaGPU / JuliaGPU/CUDA.jl

Extend and generalize allowscalar to memory transfers

Open
#160 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.