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.
has_rocm_gpu
1 parent c2417a1 commit 58ddcd7Copy full SHA for 58ddcd7
examples/memcopy.jl
@@ -37,14 +37,6 @@ if has_cuda_gpu()
37
@test A == B
38
end
39
40
-function has_rocm_gpu()
41
- for agent in AMDGPU.get_agents()
42
- if agent.type == :gpu
43
- return true
44
- end
45
46
- return false
47
-end
48
49
if has_rocm_gpu()
50
examples/naive_transpose.jl
@@ -61,14 +61,6 @@ if has_cuda_gpu()
61
@test a == transpose(b)
62
63
64
65
66
67
68
69
70
71
72
73
74
d_a = ROCArray(a)
0 commit comments