-
Download Julia 1.9.0-alpha1: https://julialang.org/downloads/#upcoming_release
-
Launch Julia REPL:
/julia-folder/bin/julia
-
Install AMDGPU package:
]add AMDGPU
(notice]
symbol that you should also type).
By default it will use its own ROCm 5.2.3 artifacts instead of whatever is installed on your system.
Use<ctrl+d>
to exit REPL. -
Create a
main.jl
anywhere with the following code in it:
using AMDGPU