Skip to content

Commit 2d82b85

Browse files
committed
Tweak
1 parent 435b639 commit 2d82b85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CUDAKernels.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ function KI.KIKernel(::CUDABackend, f, args...; kwargs...)
166166
KI.KIKernel{CUDABackend, typeof(kern)}(CUDABackend(), kern)
167167
end
168168

169-
function (obj::KI.KIKernel{CUDABackend})(args...; numworkgroups=nothing, workgroupsize=nothing)
169+
function (obj::KI.KIKernel{CUDABackend})(args...; numworkgroups=nothing, workgroupsize=nothing, kwargs...)
170170
threadsPerThreadgroup = isnothing(workgroupsize) ? 1 : workgroupsize
171171
threadgroupsPerGrid = isnothing(numworkgroups) ? 1 : numworkgroups
172172

173-
obj.kern(args...; threads=threadsPerThreadgroup, blocks=threadgroupsPerGrid)
173+
obj.kern(args...; threads=threadsPerThreadgroup, blocks=threadgroupsPerGrid, kwargs...)
174174
end
175175

176176

0 commit comments

Comments
 (0)