Skip to content

Commit b2b2cde

Browse files
authored
Adapt to CUDA.jl v6. (#178)
1 parent e0117cf commit b2b2cde

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Project.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@ GPUArrays = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7"
1616
IRStructurizer = "93e32bba-5bb8-402b-805d-ffb066edee93"
1717

1818
[weakdeps]
19-
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
19+
CUDACore = "bd0ed864-bdfe-4181-a5ed-ce625a5fdea2"
2020
DLFP8Types = "f4c16678-4a16-415b-82ef-ed337c5d6c7c"
2121

2222
[extensions]
23-
CUDAExt = "CUDA"
23+
CUDAExt = "CUDACore"
2424
DLFP8TypesExt = "DLFP8Types"
2525

2626
[compat]
2727
BFloat16s = "0.6"
2828
CUDA_Compiler_jll = "0.4"
2929
CUDA_Tile_jll = "13.1"
30+
CUDACore = "6"
3031
CompilerCaching = "0.2"
3132
EnumX = "1.0"
3233
GPUArrays = "11"

ext/CUDAExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ using CompilerCaching: CacheView, method_instance, results
99

1010
import Core.Compiler as CC
1111

12-
using CUDA: CuArray, CuModule, CuFunction, cudacall, device, capability
12+
using CUDACore: CuArray, CuModule, CuFunction, cudacall, device, capability
1313
using CUDA_Compiler_jll
1414

1515
import Base.Broadcast: BroadcastStyle
16-
import CUDA: CuArrayStyle
16+
import CUDACore: CuArrayStyle
1717

1818
public launch
1919

test/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1010
cuTile = "0dea8319-8c4a-4662-a73d-20234d115b9a"
1111

1212
[compat]
13+
CUDA = "6"
1314
FileCheck = "1.0"
1415
ParallelTestRunner = "2.0"

0 commit comments

Comments
 (0)