AMD GPU: Difference between revisions
imported>SuperSamus No edit summary |
imported>FrostyTheWoahman |
||
Line 54: | Line 54: | ||
You should also install the <code>clinfo</code> package to verify that OpenCL is correctly setup (or check in the program you use to see if it is now available, such as in Darktable). | You should also install the <code>clinfo</code> package to verify that OpenCL is correctly setup (or check in the program you use to see if it is now available, such as in Darktable). | ||
=== Radeon 500 series (aka Polaris) === | |||
As of [https://github.com/ROCm/ROCm/issues/1659 ROCm 4.5], AMD has disabled OpenCL on Polaris based cards. This can be re-enabled by setting the environment variable <code>ROC_ENABLE_PRE_VEGA=1</code> | |||
<syntaxhighlight lang="nix"> | |||
environment.variables = { | |||
ROC_ENABLE_PRE_VEGA = "1"; | |||
}; | |||
</syntaxhighlight> | |||
== Vulkan == | == Vulkan == |