even though I installed AMD ROCM GPU drivers, PyOpenCL seems broken. It works on Manjaro though.
~/Code/Subdivision main
pybase2 ❯ neofetch (pybase2)
.-------------------------: pepe@cachyos-x8664
.+=========================. ------------------
:++===++==================- :+± OS: CachyOS x86_64
:++====+++++=============- .==: Host: LENOVO LNVNB161216
-+++=====+++==========: Kernel: 6.12.4-2-cachyos
=++++========------------: Uptime: 7 mins
=+++++=====- … Packages: 1109 (pacman)
.++++++=-===: .=+++=: Shell: fish 3.7.1
:++++=====-==: -+ Resolution: 1920x1200
:++========-=. .=++. DE: Plasma 6.2.4 (Wayland)
.+==========-. . Theme: Breeze-Dark [GTK2], Breeze [GTK3]
:+++++++====- .–==-. Icons: breeze-dark [GTK2/3]
:++==========. :+++++++: Terminal: konsole
.-===========. =+*+ CPU: AMD Ryzen 7 8845HS w/ Radeon 780M Graphics (16) @
.-===========: .++: GPU: AMD ATI Phoenix3
-=======++++:::::::::::::::::::::::::-: .—: Memory: 2325MiB / 13731MiB
:======++++====+++*************=.
:=====+++==========++++++++++++++-
.====++==============++++++++++-
.===+==================+++++++:
.-=======================+++:
…
~/Code/Subdivision main
pybase2 ❯ clinfo -l (pybase2)
Platform #0: AMD Accelerated Parallel Processing
`-- Device #0: gfx1103
Platform #1: rusticl
~/Code/Subdivision main
pybase2 ❯ python3 main.py (pybase2)
/home/pepe/anaconda3/envs/pybase2/lib/python3.12/site-packages/pytools/persistent_dict.py:52: RecommendedHashNotFoundWarning: Unable to import recommended hash ‘siphash24.siphash13’, falling back to ‘hashlib.sha256’. Run ‘python3 -m pip install siphash24’ to install the recommended hash.
warn("Unable to import recommended hash ‘siphash24.siphash13’, "
0 - chaotic
1 - rossler
2 - lorenz
3 - aizawa
4 - halvorsen
system = 0
Traceback (most recent call last):
File “/home/pepe/Code/Subdivision/main.py”, line 64, in
ctx = cl.create_some_context()
^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/pepe/anaconda3/envs/pybase2/lib/python3.12/site-packages/pyopencl/init.py”, line 1699, in create_some_context
devices = choose_devices(interactive, answers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/pepe/anaconda3/envs/pybase2/lib/python3.12/site-packages/pyopencl/init.py”, line 1600, in choose_devices
platforms = get_platforms()
^^^^^^^^^^^^^^^
pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR