Skip to content

Commit c8f8afd

Browse files
authored
Import allowscalar (#716)
1 parent 03ca435 commit c8f8afd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AMDGPU.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ using Adapt
44
using CEnum
55
using GPUCompiler
66
using GPUArrays
7+
using GPUArrays: allowscalar
78
using Libdl
89
using LLVM, LLVM.Interop
910
using Preferences
@@ -116,8 +117,6 @@ include("kernels/accumulate.jl")
116117
include("kernels/sorting.jl")
117118
include("kernels/reverse.jl")
118119

119-
allowscalar(x::Bool) = GPUArrays.allowscalar(x)
120-
121120
include(joinpath("blas", "rocBLAS.jl"))
122121
include(joinpath("solver", "rocSOLVER.jl"))
123122
include(joinpath("sparse", "rocSPARSE.jl"))

0 commit comments

Comments
 (0)