> 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