File: clinfo.patch

package info (click to toggle)
libgpuarray 0.7.6-13
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,176 kB
  • sloc: ansic: 19,235; python: 4,591; makefile: 208; javascript: 71; sh: 15
file content (18 lines) | stat: -rw-r--r-- 731 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Add note on clinfo

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

--- a/pygpu/gpuarray.pyx
+++ b/pygpu/gpuarray.pyx
@@ -609,8 +609,8 @@ def init(dev, sched='default', single_st
     available device will be selected according to the backend order.
 
     For opencl the device id is the platform number, a colon (:) and
-    the device number.  There is no widespread and/or easy way to
-    list available platforms and devices.  You can experiment with
+    the device number.  On Debian, the clinfo package can
+    list available platforms and devices.  Or, you can experiment with
     the values, unavailable ones will just raise an error, and there
     are no gaps in the valid numbers.