Skip to content

Commit

Permalink
take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
leios committed Jul 23, 2024
1 parent 24fb01c commit 1b71726
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gpuarrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import KernelAbstractions: Backend
## execution

@inline function GPUArrays.launch_heuristic(::oneAPIBackend, obj::O, args::Vararg{Any,N};
elements::Int, elements_per_thread::Int) where {O,N}
elements::Int, elements_per_thread::Int) where {O,N}
ndrange = ceil(Int, elements / elements_per_thread)
ndrange, workgroupsize, iterspace, dynamic = KA.launch_config(obj, ndrange,
nothing)
Expand Down
4 changes: 2 additions & 2 deletions src/oneAPI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ end
include("broadcast.jl")
include("mapreduce.jl")
include("oneAPIKernels.jl")
import .oneAPIKernels: oneAPIBackend
export oneAPIBackend, KA.launch_config
import .oneAPIKernels: oneAPIBackend, KA.launch_config
export oneAPIBackend

include("gpuarrays.jl")
include("random.jl")
Expand Down

0 comments on commit 1b71726

Please sign in to comment.