Skip to content

Commit 832eba9

Browse files
authored
Move things to GPUToolbox. (#2826)
1 parent 17cc3f0 commit 832eba9

File tree

13 files changed

+9
-253
lines changed

13 files changed

+9
-253
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ EnzymeCore = "0.8.2"
6666
ExprTools = "0.1"
6767
GPUArrays = "11.2.1"
6868
GPUCompiler = "0.24, 0.25, 0.26, 0.27, 1"
69-
GPUToolbox = "0.2"
69+
GPUToolbox = "0.3"
7070
KernelAbstractions = "0.9.32"
7171
LLVM = "9.1"
7272
LLVMLoopInfo = "1"

lib/cublas/CUBLAS.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module CUBLAS
22

33
using ..APIUtils
4+
using ..GPUToolbox
45

56
using ..CUDA
67
using ..CUDA: CUstream, cuComplex, cuDoubleComplex, libraryPropertyType, cudaDataType, i32

lib/cufft/CUFFT.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module CUFFT
22

33
using ..APIUtils
4+
using ..GPUToolbox
45

56
using ..CUDA_Runtime
67

lib/cupti/CUPTI.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module CUPTI
22

33
using ..APIUtils
4+
using ..GPUToolbox
45

56
using ..CUDA_Runtime
67

lib/curand/CURAND.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module CURAND
22

33
using ..APIUtils
4+
using ..GPUToolbox
45

56
using ..CUDA_Runtime
67

lib/cusolver/CUSOLVER.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module CUSOLVER
22

33
using ..APIUtils
4+
using ..GPUToolbox
45

56
using ..CUDA_Runtime
67

lib/cusparse/CUSPARSE.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module CUSPARSE
22

33
using ..APIUtils
4+
using ..GPUToolbox
45

56
using ..CUDA_Runtime
67

lib/nvml/NVML.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module NVML
22

3-
using ..APIUtils
3+
4+
using ..GPUToolbox
45

56
using ..CUDA
67

lib/utils/APIUtils.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,8 @@ using ..CUDA
55
using LLVM
66
using LLVM.Interop
77

8-
# helpers that facilitate working with CUDA APIs
9-
using GPUToolbox: @checked, @debug_ccall, @gcsafe_ccall
10-
export @checked, @debug_ccall, @gcsafe_ccall
11-
128
include("call.jl")
13-
include("enum.jl")
14-
include("threading.jl")
159
include("cache.jl")
16-
include("memoization.jl")
1710
include("struct_size.jl")
1811

1912
end

lib/utils/enum.jl

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)