CUDArt.jl
CUDArt.jl copied to clipboard
Julia wrapper for CUDA runtime API
You're receiving this pull request because the now-deprecated [Julia TagBot GitHub App](https://github.com/apps/julia-tagbot) is installed for this repository. This pull request installs [TagBot as a GitHub Action](https://github.com/marketplace/actions/julia-tagbot). If this PR does...
There is some pathing in the following file that presents errors for standard 64 bit CUDA installations in /root/.julia/v0.5/CUDArt/src/CUDArt.jl Symptom: Pkg.add("CUDArt") fails In particular the line: const libcuda = Libdl.find_library(["libcuda"],...
This took me a while to figure out today, while debugging the new CUSPARSE package: ``` ERROR: LoadError: MethodError: `convert` has no method matching convert(::Type{CUDArt.CudaArray{T,N}}, ::Type{Int32}, ::Tuple{Int32}) This may have...
The following code reproduces the [Unified Memory example](https://devblogs.nvidia.com/parallelforall/unified-memory-cuda-beginners/) from NVIDIA in Julia: https://gist.github.com/barche/9cc583ad85dd2d02782642af04f44dd7#file-add_cudart-jl Kernel run time is the same as with the .cu compiled with nvcc, the nvprof output I...
@maleadt noticed that every so often the CI would fail due to a test error in gc.jl. The specific test that fails is: https://github.com/JuliaGPU/CUDArt.jl/blob/7c7157019fa69539b2547b5317d9770c89d7d462/test/gc.jl#L57 ``` g = CUDArt.CudaArray(a) # In...
``` julia> Pkg.build("CUDArt") INFO: Building CUDAdrv INFO: Found libcuda at /usr/bin/../lib/libcuda.so INFO: CUDAdrv.jl has already been built for this CUDA library, no need to rebuild INFO: Building CUDArt NVIDIA: no...
This is in preparation of #34, but doesn't include the discussed change yet. I decided to determine CUDA's version at import-time because I don't see why we should do so...
Is there any progress on making gc sensitive to remaining gpu memory? The following example still fails with an out-of-memory error. It works if you uncomment the manual gc() line....
When I try this function on a server with Tesla GPU(device initialize and other staff is outside the function) , `cuModuleLoad` returns `-1` in the console. But I didn't find...
Continuing from: https://groups.google.com/d/topic/julia-dev/NqPz4f_0VLg/discussion I get this error intermittently on exit from Julia. I was able to trace it to the finalizer of CudaPtr (pointer.jl:44), in particular to the statement haskey(cuda_ptrs,...