Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

Commit b4037ce

Browse files
committed
Fix deprecation.
1 parent 021b653 commit b4037ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/indexing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function Base.findfirst(vals::CuArray, xs::CuArray)
192192

193193
# blocks to cover the remaining dimensions
194194
dev = CUDAdrv.device(kernel.fun.mod.ctx)
195-
max_other_blocks = attribute(dev, CUDAdrv.MAX_GRID_DIM_Y)
195+
max_other_blocks = attribute(dev, CUDAdrv.DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y)
196196
blocks_other = (min(length(Rother), max_other_blocks),
197197
cld(length(Rother), max_other_blocks))
198198

0 commit comments

Comments
 (0)