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 <[email protected]> Gesendet: Mittwoch, 6. November 2019 15:27 An: [email protected] Cc: [email protected] Betreff: Re: [PyOpenCL] Issues with PyOpenCL on CentOS 7 with Radeon VII and Miniconda > Am 06.11.2019 um 10:46 schrieb [email protected]: > > 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 -- [email protected] > To unsubscribe send an email to [email protected] _______________________________________________ PyOpenCL mailing list -- [email protected] To unsubscribe send an email to [email protected]
