News for hackers. Stuff that matters.
Re:AMD Finally Opens Up Its Radeon Raytracing Analyzer “RRA”... by schmorptron on Sunday November 20, 2022 @11:20AM (#33682185)
Trying to figure out the ROCM hardware support page for a solid 10 minutes and then finding out my RX 5700 which would be pretty capable hardware-wise isn't supported was super frustrating. According to some GitHub Thread GFX10 and 20 should have been supported by the end of 2021 but official support as in being listed in the document never came?

I get that nvidia has a lot more resources and I'm trying not to support their closed ecosystem but AMD's non-support isn't exactly making it easy. Has anyone here had any experience with intel's new arc line?

Re:AMD Finally Opens Up Its Radeon Raytracing Analyzer “RRA”... by slavik81 on Sunday November 20, 2022 @02:32PM (#33684379)
The RX 5700 is gfx1010. You can find some of the mappings on https://llvm.org/docs/AMDGPUUsage.html

The driver and compiler work, but the math libraries were never updated to add gfx1010, aside from rocBLAS and rocSOLVER. The official binaries don't contain machine code for your architecture, aside from those two.

I would suggest building ROCm with Spack if you are using a gfx101x processor. I've been working to make sure that all of ROCm can be built for different targets. e.g.

    spack install --verbose --test root rocblas amdgpu_target=gfx1010
That will build rocBLAS and run a subset of the test suite. The RX 5700 hardware is not tested by ROCm QA, so running the test suite is usually a good idea.

I have an RX 5700 XT available, which is also gfx1010, so if you encounter any problems and need some guidance, feel free to contact me. My email is in my profile. I'd be happy to help guide you through debugging the issue and submitting a patch.

Re:AMD Finally Opens Up Its Radeon Raytracing Analyzer “RRA”... by slavik81 on Tuesday November 22, 2022 @05:58PM (#33712748)
I forgot that OpenMP is broken with llvm-amdgpu in Spack at the moment. I hope it will be fixed soon, because OpenMP is used in some of the tests. In the meantime, you may have to remove `--test root` from that install command.
Re:AMD Finally Opens Up Its Radeon Raytracing Analyzer “RRA”... by schmorptron on Thursday November 24, 2022 @07:26AM (#33730539)
Thank you so much, I'll check this out!