Skip to content

Commit

Permalink
AMDGPU.functional is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Mar 18, 2024
1 parent 4a0b34f commit 5f6634e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions NDTensors/test/NDTensorsTestUtils/device_list.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ function devices_list(test_args)
end

if "rocm" in test_args || "all" in test_args
if AMDGPU.functional()
push!(devs, NDTensors.roc)
else
println(
"Warning: AMDGPU.jl is not functional on this architecture and tests will be skipped.",
)
end
push!(devs, NDTensors.roc)
end

if "metal" in test_args || "all" in test_args
Expand Down

0 comments on commit 5f6634e

Please sign in to comment.