summaryrefslogtreecommitdiff
path: root/silx/opencl/common.py
diff options
context:
space:
mode:
authorAlexandre Marie <alexandre.marie@synchrotron-soleil.fr>2018-12-17 12:28:24 +0100
committerAlexandre Marie <alexandre.marie@synchrotron-soleil.fr>2018-12-17 12:28:24 +0100
commitcebdc9244c019224846cb8d2668080fe386a6adc (patch)
treeaedec55da0f9dd4fc4d6c7eb0f58489a956e2e8c /silx/opencl/common.py
parent159ef14fb9e198bb0066ea14e6b980f065de63dd (diff)
New upstream version 0.9.0+dfsg
Diffstat (limited to 'silx/opencl/common.py')
-rw-r--r--silx/opencl/common.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/silx/opencl/common.py b/silx/opencl/common.py
index e955f46..9a04035 100644
--- a/silx/opencl/common.py
+++ b/silx/opencl/common.py
@@ -4,7 +4,7 @@
# Project: S I L X project
# https://github.com/silx-kit/silx
#
-# Copyright (C) 2012-2017 European Synchrotron Radiation Facility, Grenoble, France
+# Copyright (C) 2012-2018 European Synchrotron Radiation Facility, Grenoble, France
#
# Principal author: Jérôme Kieffer (Jerome.Kieffer@ESRF.eu)
#
@@ -34,7 +34,7 @@ __author__ = "Jerome Kieffer"
__contact__ = "Jerome.Kieffer@ESRF.eu"
__license__ = "MIT"
__copyright__ = "2012-2017 European Synchrotron Radiation Facility, Grenoble, France"
-__date__ = "16/10/2017"
+__date__ = "20/09/2018"
__status__ = "stable"
__all__ = ["ocl", "pyopencl", "mf", "release_cl_buffers", "allocate_cl_buffers",
"measure_workgroup_size", "kernel_workgroup_size"]
@@ -51,7 +51,7 @@ logger = logging.getLogger(__name__)
if os.environ.get("SILX_OPENCL") in ["0", "False"]:
- logger.warning("Use of OpenCL has been disables from environment variable: SILX_OPENCL=0")
+ logger.info("Use of OpenCL has been disabled from environment variable: SILX_OPENCL=0")
pyopencl = None
else:
try:
@@ -317,7 +317,7 @@ class OpenCL(object):
flop_core = 1
workgroup = device.max_work_group_size
if (devtype == "CPU") and (pypl.vendor == "Apple"):
- logger.warning("For Apple's OpenCL on CPU: Measuring actual valid max_work_goup_size.")
+ logger.info("For Apple's OpenCL on CPU: Measuring actual valid max_work_goup_size.")
workgroup = _measure_workgroup_size(device, fast=True)
if (devtype == "GPU") and os.environ.get("GPU") == "False":
# Environment variable to disable GPU devices