All Projects → JuliaGPU → HSARuntime.jl

JuliaGPU / HSARuntime.jl

Licence: other
Julia interface to the HSA runtime, for supporting AMD GPUs

Programming Languages

julia
2034 projects
Vim Script
2826 projects

Projects that are alternatives of or similar to HSARuntime.jl

amdpwrman
Please see the newer 'gpumgr' instead -- amdpwrman is a BASH shell script for managing AMD GPU's power limits and fan speeds under Linux via the sysfs interface of the amdgpu driver.
Stars: ✭ 14 (-12.5%)
Mutual labels:  amdgpu
drivers-linux-firmware
MOVED: https://gitlab.com/q3aql/drivers-linux-firmware
Stars: ✭ 28 (+75%)
Mutual labels:  amdgpu
realcaffe2
The repo is obsolete. Use at your own risk.
Stars: ✭ 12 (-25%)
Mutual labels:  amdgpu
Guided Missile Simulation
Guided Missile, Radar and Infrared EOS Simulation Framework written in Fortran.
Stars: ✭ 33 (+106.25%)
Mutual labels:  amdgpu
gpustats
Statistics on GPUs
Stars: ✭ 21 (+31.25%)
Mutual labels:  amdgpu
vibrantLinux
A tool to automate managing your screen's saturation depending on what programs are running
Stars: ✭ 66 (+312.5%)
Mutual labels:  amdgpu
Hackintosh-10900k-Z490-Vision-G-AMD-6900XT
OpenCore EFI for a 100% stable Intel 10900k + Z490 Vision G + AMD 6900XT Hackintosh
Stars: ✭ 35 (+118.75%)
Mutual labels:  amdgpu
gpu-passthrough
A GPU passthrough tutorial using libvirt and KVM on GNU/Linux
Stars: ✭ 57 (+256.25%)
Mutual labels:  amdgpu
ROCArrays.jl
Parallel on the ROCks
Stars: ✭ 17 (+6.25%)
Mutual labels:  amdgpu

HSARuntime.jl - Julia interface to the HSA runtime

Deprecated, please use AMDGPU.jl

Requirements

Installed

  • ROCR
  • ROCT
  • Recent Linux kernel with AMDGPU and HSA enabled

Setup Instructions

Currently, the requirements to get everything working properly is a bit poorly documented in the upstream docs for any distro other than Ubuntu. So here is a list of requirements I've found through the process of making this work:

Make sure /dev/kfd has a group other than root that you can add your user to. I recommend adding your user to the "video" group, and setting the ownership of /dev/kfd to root:video with 660 permissions. Or, run as root! (Don't actually do this)

The correct libraries in your LD_LIBRARY_PATH or standard library locations:

  • libhsa-runtime64.so
  • libhsakmt.so

In terms of Linux kernel versions, just pick the newest one you can (I'm running 4.20 as I type this). If building your own kernel, make sure all the regular AMDGPU and HSA options are enabled.

You will also need ld.lld installed on your system (provided by LLVM/Clang); if you built Julia from source, you should have a copy somewhere in deps/scratch/llvm-*/*/bin/ that you can add to your PATH.

Once all of this is setup properly, you should be able to ] build HSARuntime successfully; after that, if you have a supported GPU attached and enabled, ] test HSARuntime should work exactly as you might expect.

TODO

  • Document some key Linux kernel config options to have enabled
  • Make deps/wrap.jl use system-installed HSA headers
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].