Skip to content

Commit 4b07020

Browse files
committed
Fix intrinsic test.
1 parent e8e7954 commit 4b07020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/core/device/intrinsics/cooperative_groups.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if capability(device()) >= v"6.0" && attribute(device(), CUDA.DEVICE_ATTRIBUTE_C
4545
# (the occupancy API could be used to calculate how many blocks can fit per SM,
4646
# but that doesn't matter for the tests, so we assume a single block per SM.)
4747
maxBlocks = attribute(device(), CUDA.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT)
48-
kernel = cufunction(kernel_vadd, NTuple{3, CuDeviceArray{Float32,2,AS.Global}})
48+
kernel = cufunction(kernel_vadd, NTuple{3, CuDeviceArray{Float32,2,AS.Global,Int}})
4949
maxThreads = CUDA.maxthreads(kernel)
5050

5151
a = rand(Float32, maxBlocks, maxThreads)

0 commit comments

Comments
 (0)