Skip to content

Commit e80004f

Browse files
committed
fixing line to match CUDA.jl
1 parent 2243449 commit e80004f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CUDAKernels/src/CUDAKernels.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ import KernelAbstractions: ConstAdaptor, SharedMemory, Scratchpad, __synchronize
326326
###
327327

328328
@inline function Cassette.overdub(::CUDACtx, ::typeof(SharedMemory), ::Type{T}, ::Val{Dims}, ::Val{Id}) where {T, Dims, Id}
329-
ptr = emit_shmem(Val(Id), T, Val(prod(Dims)))
329+
ptr = emit_shmem(T, Val(prod(Dims)))
330330
CUDA.CuDeviceArray(Dims, ptr)
331331
end
332332

0 commit comments

Comments
 (0)