Skip to content

Commit 544a380

Browse files
Use GPUToolbox (#733)
1 parent 3732267 commit 544a380

File tree

3 files changed

+4
-65
lines changed

3 files changed

+4
-65
lines changed

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
1212
ExprTools = "e2ba6199-217a-4e67-a87a-7c52f15ade04"
1313
GPUArrays = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7"
1414
GPUCompiler = "61eb1bfa-7361-4325-ad38-22787b887f55"
15+
GPUToolbox = "096a3bc2-3ced-46d0-87f4-dd12716f4bfc"
1516
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
1617
LLD_jll = "d55e3150-da41-5e91-b323-ecfd1eec6109"
1718
LLVM = "929cbde3-209d-540e-8aea-75f648917ca0"
@@ -51,6 +52,7 @@ EnzymeCore = "0.8"
5152
ExprTools = "0.1"
5253
GPUArrays = "11.2.1"
5354
GPUCompiler = "0.27, 1.0"
55+
GPUToolbox = "0.1.0"
5456
KernelAbstractions = "0.9.2"
5557
LLD_jll = "15, 16, 17"
5658
LLVM = "9"

src/hip/HIP.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ import ..AMDGPU
1111
import ..AMDGPU.libhip
1212
import .AMDGPU: @check, check
1313

14-
include("call.jl")
14+
import GPUToolbox: @gcsafe_ccall
15+
1516
include("libhip_common.jl")
1617
include("error.jl")
1718
include("libhip.jl")

src/hip/call.jl

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

0 commit comments

Comments
 (0)