Thanks for all the advice, I now succeeded in make the test example work. The problem were the drivers and not pyopencl/conda in the end. I ahd CentOS7.7 installed however the drivers were for CentOS7.6 only. I am currently testing CENTOS 8.0 with the corresponding drivers for Radeon VII. The test code works so far. lets see if any other issues ;)
________________________________________ Von: Gregor Thalhammer <gregor.thalham...@gmail.com> Gesendet: Mittwoch, 6. November 2019 15:27 An: marina.kauffe...@unibw.de Cc: pyopencl@tiker.net Betreff: Re: [PyOpenCL] Issues with PyOpenCL on CentOS 7 with Radeon VII and Miniconda > Am 06.11.2019 um 10:46 schrieb marina.kauffe...@unibw.de: > > I have tried to get some information pyopencl sees. The follwoing code gives > me some output > print("Platform name:", platforms[0].name) > print("Platform profile:", platforms[0].profile) > print("Platform vendor:", platforms[0].vendor) > print("Platform version:", platforms[0].version) > device=platforms[0].get_devices() > print(device) > > Platform name: AMD Accelerated Parallel Processing > Platform profile: FULL_PROFILE > Platform vendor: Advanced Micro Devices, Inc. > Platform version: OpenCL 2.1 AMD-APP (2906.7) > [] > > As you can see the device list is empty, which causes my original test to > fail. Any ideas? You could check if your user account belongs to the video group, a common pitfall with AMD drivers. "To add yourself to the video group you will need sudo privileges; you can issue the following command: sudo usermod -a -G video $LOGNAME You will need to log out and in again to activate this change.“ best Gregor > _______________________________________________ > PyOpenCL mailing list -- pyopencl@tiker.net > To unsubscribe send an email to pyopencl-le...@tiker.net _______________________________________________ PyOpenCL mailing list -- pyopencl@tiker.net To unsubscribe send an email to pyopencl-le...@tiker.net