File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33* AMD GPU (ROCm) programming in Julia*
44
5- [ ![ ] [ docs-stable-img ]] [ docs-stable-url ] [ ![ ] [ docs-dev-img ]] [ docs-dev-url ] [ ![ ] [ buildkite-img ]] [ buildkite-url ] [ ![ ] [ codecov-img ]] [ codecov-url ] [ ![ ] [ benchmark-img ]] [ benchmark-url ]
5+ [ ![ ] [ docs-stable-img ]] [ docs-stable-url ] [ ![ ] [ docs-dev-img ]] [ docs-dev-url ] [ ![ ] [ buildkite-img ]] [ buildkite-url ] [ ![ ] [ cscs-ci-img ]] [ cscs-ci-url ] [ ![ ] [ codecov-img ]] [ codecov-url ] [ ![ ] [ benchmark-img ]] [ benchmark-url ]
66
77[ ![ ] [ doi-img ]] [ doi-url ] [ ![ ] [ downloads-img ]] [ downloads-url ]
88
2727[ benchmark-img ] : https://img.shields.io/badge/benchmarks-Chart-yellowgreen
2828[ benchmark-url ] : https://amdgpu.juliagpu.org/bench/
2929
30+ [ cscs-ci-img ] : https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/3266148763123078/6677263153381401/badges/main/pipeline.svg?ignore_skipped=true
31+ [ cscs-ci-url ] : https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/3266148763123078/6677263153381401/-/pipelines
32+
3033## Quick start
3134
3235AMDGPU.jl can be installed with the Julia package manager.
Original file line number Diff line number Diff line change 1+ include :
2+ - remote : ' https://gitlab.com/cscs-ci/recipes/-/raw/master/templates/v2/.ci-ext.yml'
3+
4+ unit_test :
5+ extends : .baremetal-runner-beverin-mi300
6+ variables :
7+ JULIA : /users/lraess/julia_amd/juliaup/julia-1.12.6+0.x64.linux.gnu/bin/julia
8+ UENV : b2550889de318ab5
9+ SLURM_JOB_NUM_NODES : 1
10+ SLURM_NTASKS_PER_NODE : 1
11+ SLURM_GPUS_PER_TASK : 2
12+ SLURM_TIMELIMIT : " 00:45:00"
13+ JULIA_NUM_THREADS : 4
14+ JULIA_DEPOT_PATH : " ${CI_PROJECT_DIR}/.julia"
15+ JULIA_AMDGPU_CORE_MUST_LOAD : " 1"
16+ JULIA_AMDGPU_HIP_MUST_LOAD : " 1"
17+ JULIA_AMDGPU_DISABLE_ARTIFACTS : " 1"
18+ script :
19+ - srun -n 1 --uenv $UENV --view=default $JULIA --project -e '
20+ println("Instantiating project");
21+ using Pkg;
22+ Pkg.activate(pwd());
23+ Pkg.instantiate();
24+ using AMDGPU;
25+ AMDGPU.versioninfo();
26+ println("Running tests");
27+ Pkg.test("AMDGPU"; test_args=`--jobs=32`);'
Original file line number Diff line number Diff line change 2424
2525if length (AMDGPU. devices ()) > 1
2626 @testset " HIP Peer Access" begin
27- dev1, dev2, _ = AMDGPU. devices ()
27+ dev1, dev2 = AMDGPU. devices ()[ 1 : 2 ]
2828 @test AMDGPU. HIP. can_access_peer (dev1, dev2) isa Bool
2929 end
3030end
You can’t perform that action at this time.
0 commit comments