Skip to content

Commit

Permalink
add type in signature
Browse files Browse the repository at this point in the history
  • Loading branch information
omlins committed Jul 19, 2024
1 parent ce34bf6 commit aec0cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ParallelKernel/shared.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ end
macro ranges() esc(RANGES_VARNAME) end
macro rangelengths() esc(:(($(RANGELENGTHS_VARNAMES...),))) end

function kernel_int_type(package)
function kernel_int_type(package::Symbol)
if (package == PKG_CUDA) int_type = INT_CUDA
elseif (package == PKG_AMDGPU) int_type = INT_AMDGPU
elseif (package == PKG_THREADS) int_type = INT_THREADS
Expand Down

0 comments on commit aec0cab

Please sign in to comment.