rederick29 / void-packages

The Void source packages collection
https://voidlinux.org
Other
1 stars 0 forks source link

A note for the ROCm packages: GPU targets #2

Open rederick29 opened 1 year ago

rederick29 commented 1 year ago

With some GPUs (mainly APUs), their target will not be available in the package options list of the ROCm packages in this repo. I have not included them because certain components of ROCm fail to build on many of these targets, but I am not able to test all of them so some might work.

This is the list that I currently include in my ROCm packages:

This is the list of ALL possible targets for ROCm (may be entirely unsupported by AMD):

I have acquired the above list from https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/ff67af3ffb2ad69e8522b169a3d25df8332abd4f/src/image/blit_kernel.cpp

If you want to build for one of these devices, the changes that you need to make to most of the template files are the following:

Some packages, such as ROCm-composable_kernel may have different target support from version to version so you should check out for any changes. The aforementioned packages also uses the variable -DGPU_TARGETS instead of -DAMDGPU_TARGETS for some reason unknown to me.

Some GPUs, such as the gfx940 are supported by AMD officially, but in my testing trying to build for these caused upstream build failures due to missing support in some components. I don't have the resources to build these packages for this architecture every update to check if AMD fixed their code, so I chose to leave the gfx940 and similar out of the default targets list. You're free to add them and try for yourself. Support for some other GPUs, such as the gfx7xx series, has been explicitly removed in newer ROCm versions, so trying to get these working might be rather hard.

github-actions[bot] commented 9 months ago

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.