Skip to content

Commit

Permalink
Import allowscalar (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
pxl-th authored Jan 8, 2025
1 parent 03ca435 commit c8f8afd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/AMDGPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ using Adapt
using CEnum
using GPUCompiler
using GPUArrays
using GPUArrays: allowscalar
using Libdl
using LLVM, LLVM.Interop
using Preferences
Expand Down Expand Up @@ -116,8 +117,6 @@ include("kernels/accumulate.jl")
include("kernels/sorting.jl")
include("kernels/reverse.jl")

allowscalar(x::Bool) = GPUArrays.allowscalar(x)

include(joinpath("blas", "rocBLAS.jl"))
include(joinpath("solver", "rocSOLVER.jl"))
include(joinpath("sparse", "rocSPARSE.jl"))
Expand Down

0 comments on commit c8f8afd

Please sign in to comment.