This uses CUDA.with_workspace if it exists (CUDA 3.3 and later), and defines a minimal wrapper that uses CUDA.@workspace if not. I checked that tests pass on CUDA 2.6, 3.2, 3.3, and 3.4.
@Jutho - any chance this PR could be incorporated into a release of TensorOperations.jl? Thank you for your work, and making these tools so smooth and easy to use!
This uses
CUDA.with_workspace
if it exists (CUDA 3.3 and later), and defines a minimal wrapper that usesCUDA.@workspace
if not. I checked that tests pass on CUDA 2.6, 3.2, 3.3, and 3.4.Fixes #107