We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cabe8c commit 392ba91Copy full SHA for 392ba91
test/test.jl
@@ -72,7 +72,7 @@ end
72
device = backend()
73
@test @inferred(KernelAbstractions.get_device(A)) == device
74
@test @inferred(KernelAbstractions.get_device(view(A, 2:4, 1:3))) == device
75
- if !(device isa ROCDevice)
+ if !(isdefined(Main, :ROCKernels) && (device isa ROCDevice))
76
# Sparse arrays are not supported by the ROCm backend yet:
77
@test @inferred(KernelAbstractions.get_device(sparse(A))) == device
78
end
0 commit comments