radeon_gpu_analyzer
radeon_gpu_analyzer copied to clipboard
amdspv outputs string on success
Super nitpicking at this point, but amdspv
prints AMDSPV SUCCESS!!!
on the error output when it succeeded. I feel like this is not useful, since we already get an error code when that happens. Maybe put this output in a --verbose
switch?
Hi Ryp,
Are you getting this output from amdspv when running rga in Vulkan mode, or while interfacing with amdspv directly?
I have that message while talking to amdspv
directly.
Hi Ryp,
Got it. Please note that interfacing with amdspv directly is discouraged (and using the offline Vulkan mode in general is discouraged - the recommended way to go is using the Vulkan live-driver mode). We will see if this behavior can be refined however.
My use case consists of generating the GCN ISA in text mode as part of a build process. I also don't currently own a AMD GPU, I'm guessing the live-driver is not an option for me?
RGA has the Vulkan driver packaged with it to support your use case. Give it a shot - it should fall back to using the packaged driver after failing to locate the driver.
Since I guess that you are building RGA from source rather than using the release archive, try the following steps to enable yourself:
- Download and extract the release archive for the relevant platform (Windows/Linux).
- Under x64/Vulkan (Windows) or under Vulkan (Linux), you should find an "amdvlk" folder that contains the packaged driver.
- Copy the amdvlk folder to the relevant location under your build output folder (where the RGA executable was generated). The hierarchy should match what you see in the release archive.
- Try running the tool in Vulkan live-driver mode (-s vulkan).