LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2024, 08:21 PM   #1
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Slackware64 15.0 ROCm OpenCL build scripts


I took a few cracks at getting some ROCm OpenCL support ready for Slackbuilds.org some time ago.

https://www.linuxquestions.org/quest...ng-4175672690/

Unfortunately, some health issues forced a delay in working on this. The need for a useful AMD GPU OpenCL on top of the opensource AMDGPU driver continued to be evident in a number of posts on the interwebs. Sure, you can try to get AMDGPU-PRO to install, try deb2tgz, but a proper Slackware package set is needed.

Fortunately, another Slackware user was able to sort ROCm into a useful set of Slackware buildscripts:
https://github.com/414n/slackbuilds.org/blob/rocm-5.5.1
https://github.com/414n/slackbuilds....README_rocm.md

For those of us that need just OpenCL runtime and not the entire ROCm development and SDK stack, and where Mesa's OpenCL 1.1 won't work, I've sorted out the minimum set for OpenCL on Slackware64:

https://www.linuxgalaxy.org/kingbeow...r-slackware64/

For the brave, the full set of packages will provide OpenCL 2 and HIP/HSA runtimes, and a full set of development libraries and headers.

Last edited by kingbeowulf; 03-04-2024 at 07:37 PM. Reason: spelling
 
Old 03-06-2024, 09:13 AM   #2
CaceK
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware
Posts: 20

Rep: Reputation: 8
I would love to try building the whole stack but version 5.5.1 is almost one year old.
Have anyone try building the 5.7 version?

There is stable PyTorch (2.2.1) for Rocm 5.7. I would love to try Stable Diffusion.
 
Old 03-06-2024, 11:27 PM   #3
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
And Slackware 15.0 is now 2 years old. I haven't tried bumping up the version yet in these scripts to 5.7.1 (last of the 5 series), and whether 15.0 is "new enough". ROCm 6.x requires Slackware-Current. It's not easy to extract useful build information from the ROCm documentation. They still seem openly hostile to anyone not using one of the "official" distros that do the so-called "automatic" dependency resolution.

If I have time, I'll see what I can come up with to help 414n update his builds.
 
3 members found this post helpful.
  


Reply

Tags
opencl, rocm, runtime, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] AMD ROCm support gildbg Slackware 11 02-29-2024 03:29 AM
How to enforce ComfyUI to use ROCm for my APU? hd_scania Linux - Hardware 0 02-10-2024 03:44 PM
Cannot set fan speed on RX 6700 XT on ubuntu 20 kernel 5.11 rocm 4.5 ethereal1m Linux - Hardware 1 12-09-2021 11:09 PM
[SOLVED] Its possible install AMD Rocm in slackware ? USUARIONUEVO Slackware 10 09-22-2018 03:02 PM
how to install/enable Nvidia OpenCL in Slackware64 13.1? linuxs64 Slackware 2 11-23-2010 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration