diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-27 17:43:55 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-27 19:12:21 +0200 |
commit | 598f25c85793aab78b5ecce733c65a66860d0c5c (patch) | |
tree | 651e800bc1a74263d3bd32ce957ec6492e3e6907 /opencl/inc | |
parent | remove SAL_DEBUG (diff) | |
download | core-598f25c85793aab78b5ecce733c65a66860d0c5c.tar.gz core-598f25c85793aab78b5ecce733c65a66860d0c5c.zip |
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.hxx | 2 |
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); |