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 82ce7e4 commit 7cd29ecCopy full SHA for 7cd29ec
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