summaryrefslogtreecommitdiff
path: root/opencl/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-27 17:43:55 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-27 19:12:21 +0200
commit598f25c85793aab78b5ecce733c65a66860d0c5c (patch)
tree651e800bc1a74263d3bd32ce957ec6492e3e6907 /opencl/inc
parenta02a54f51367f276544f45e67023338a32d22ee6 (diff)
Clean up confusing OpenCL code a bit
Get rid of the silly OpenCLDevice class that had only static members. We can as well just use namespacing. Remove functions only used internally in openclwrapper.cxx from the now public openclwrapper.hxx header. Change-Id: If7336edd262c772564dc13e64113d72d0b52428c
Diffstat (limited to 'opencl/inc')
-rw-r--r--opencl/inc/opencl_device.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/opencl/inc/opencl_device.hxx b/opencl/inc/opencl_device.hxx
index 7435879ecc83..057e2f4ac045 100644
--- a/opencl/inc/opencl_device.hxx
+++ b/opencl/inc/opencl_device.hxx
@@ -12,7 +12,7 @@
#include "opencl_device_selection.h"
-namespace OpenCLDevice {
+namespace opencl {
ds_device getDeviceSelection(const char* pFileName, bool bForceSelection = false);
bool selectedDeviceIsOpenCL(ds_device device);