Last active
July 10, 2025 19:38
-
-
Save Hermann-SW/8f82f3f16a8f6b93e7a222405933bec9 to your computer and use it in GitHub Desktop.
OpenCL example notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
see comments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found it — at least for Instinct MI50 GPUs.
I remembered that on the AMD 7950X CPU PC I had tried to disable internal graphics card in Bios, but was not successful before moving to basement. The internal "GPU-XX" seems to make the problems:
My AMD 7600X CPU PC has four Instinct MI50s, and internal graphics card disabled in Bios (no GPU-XX):
And here the blog hello world works (not he very first time, but two times after that):
So the most important to me Instinct MI50 GPUs now work (I will have to correctly disable internal graphics card on "7950x" PC).

That is no problem because both PCs (with 1850W PSU each) are operated headless in basement:
Next I tried the rocm-examples repo hello world, and it works as well.
AND it showed the reason why the first time calling gpuHelloWorld above showed no output:
"no ROCm-capable device is detected"
The rocm-examples repo hello world has this at the end of code:
I added this simple equivalent to blog hello world: