GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — HPCTrainingExamples/Julia/vec_add at main · amd/HPCTrainingExamples

Expand file tree

/

vec_add

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

vec_add

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Project.toml
Project.toml
 
 
README.md
README.md
 
 
vec_add.jl
vec_add.jl
 
 

README.md

Outline

Vector Addition on AMD GPU with Julia

Setup

First, make sure that you have the necessary dependencies installed, which are

  • Julia 1.12+ (required for MI300A/MI300X) - see Julia Downloads
  • ROCm installed on the system

If you are working on AAC6 or AAC7, make sure that a ROCm module is loaded with

module load rocm

Next, move to this directory, install the third-party AMDGPU.jl package and verify your GPU is detected:

cd Julia/vec_add
julia --project -e 'using Pkg; Pkg.instantiate(); using AMDGPU; AMDGPU.versioninfo()'

Run

With Julia and the necessary packages installed, you can now run the script with

julia --project vec_add.jl

If the scripts runs succesfully, it should output: PASS!

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.