Skip to content

Instantly share code, notes, and snippets.

@Mike15678
Last active July 10, 2023 16:30
Show Gist options
  • Save Mike15678/639d32118bd2d8d80baaea1fed6d73eb to your computer and use it in GitHub Desktop.
Save Mike15678/639d32118bd2d8d80baaea1fed6d73eb to your computer and use it in GitHub Desktop.
bfCL OpenCL errors

bfCL OpenCL errors

Name of actual identifier Displayed error Error exit code Suggested troubleshooting steps
CL_OUT_OF_RESOURCES error: out of resources -5 Run bfCL in reduced work size mode (in the future, with an updated script)
CL_PLATFORM_NOT_FOUND_KHR error: platform not found -1001 This error means that no ICD's for any compute device were found. If applicable, disable Nvidia SLI / AMD Crossfire and reboot your computer. If the error persists and you have Windows, update your graphics card drivers since you most likely don't have your graphics card's OpenCL ICD; otherwise if you have Linux, make sure you download a compatible OpenCL ICD for your graphics card through your package manager (OpenCL ICD Loader by itself is not enough!). If the error still persists regardless of your operating system, you most likely don't have have an OpenCL 1.2 compatible graphics card.
N/A no OpenCL capable GPU found -1 (Warning: this exit code is reused a lot throughout bfCL and should be comsidered generic!) Note: this is not an actual OpenCL error, but it is still important! This error is very similar to the previous one, but instead a non-compatible ICD was found (e.g. a CPU ICD). If applicable, disable Nvidia SLI / AMD Crossfire and reboot your computer. If you have Windows, try updating your graphics card drivers; if that doesn't work, you most likely don't have a compatible OpenCL 1.2 graphics card. If you have Linux, make sure you install a compatible OpenCL ICD for your graphics card through your package manager; if that doesn't work, you most likely don't have a compatible OpenCL 1.2 graphics card. If you have macOS, you most likely don't have a compatible OpenCL 1.2 graphics card.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment