Skip to content

Commit

Permalink
export GPUArraysCore.backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
N5N3 committed Aug 12, 2022
1 parent de8bc56 commit 0137d18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/GPUArraysCore/src/GPUArraysCore.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ macro allowscalar(ex)
end
end

## backend

export backend

"""
backend(T::Type)
backend(x)
Expand Down
2 changes: 0 additions & 2 deletions src/device/execution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ abstract type AbstractGPUBackend end

abstract type AbstractKernelContext end

import GPUArraysCore: backend

"""
gpu_call(kernel::Function, arg0, args...; kwargs...)
Expand Down

0 comments on commit 0137d18

Please sign in to comment.