diff options
author | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-01-06 14:32:31 +0100 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-01-06 14:32:31 +0100 |
commit | c26bf52d8ac70329486e58b5b4e908e26dbcf86d (patch) | |
tree | 04af64867eb6331a49e812fc3e32f934af724538 | |
parent | 4365465e64a3ca118c6eefb45a1b73cd24cc2792 (diff) |
refresh patch series
-rw-r--r-- | debian/patches/0006-Tests-if-openCL-can-be-used.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/0006-Tests-if-openCL-can-be-used.patch b/debian/patches/0006-Tests-if-openCL-can-be-used.patch index 78a3bf8..499ee78 100644 --- a/debian/patches/0006-Tests-if-openCL-can-be-used.patch +++ b/debian/patches/0006-Tests-if-openCL-can-be-used.patch @@ -7,15 +7,15 @@ Subject: Tests if openCL can be used 1 file changed, 2 insertions(+) diff --git a/silx/opencl/common.py b/silx/opencl/common.py -index 110d941..3525bf4 100644 +index 002c15d..e1409f2 100644 --- a/silx/opencl/common.py +++ b/silx/opencl/common.py -@@ -75,6 +75,8 @@ if pyopencl is None: +@@ -74,6 +74,8 @@ if pyopencl is None: WRITE_ONLY = 1 READ_ONLY = 1 READ_WRITE = 1 +else: + mf = pyopencl.mem_flags - FLOP_PER_CORE = {"GPU": 64, # GPU, Fermi at least perform 64 flops per cycle/multicore, G80 were at 24 or 48 ... + "CPU": 4, # CPU, at least intel's have 4 operation per cycle |