summaryrefslogtreecommitdiff
path: root/opencl/source/opencl_device.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-08-25 15:22:40 +0300
committerTor Lillqvist <tml@collabora.com>2017-08-25 15:49:34 +0300
commitaa7dc5fa1df23f1a9079305cb362aab018e94848 (patch)
tree68c4825581e939b4dd8af5c7d1fa7ef848bf4fb8 /opencl/source/opencl_device.cxx
parent407a126af45d93f83eb4dbdc358dd569bea4db6f (diff)
Get rid of need to use initial :: for ::opencl to avoid clash with sc::opencl
Rename the global opencl namespace to openclwrapper. Its public API is after all declared in a file called openclwrapper.hxx. The confusion started when part of the OpenCL code was moved out from sc some years ago. Change-Id: I98ebd8498b2244804411e5de9169eb619f86070b
Diffstat (limited to 'opencl/source/opencl_device.cxx')
-rw-r--r--opencl/source/opencl_device.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/opencl/source/opencl_device.cxx b/opencl/source/opencl_device.cxx
index 695c85505201..4f63e983ae3a 100644
--- a/opencl/source/opencl_device.cxx
+++ b/opencl/source/opencl_device.cxx
@@ -40,8 +40,6 @@
#define STRINGIFY(...) #__VA_ARGS__"\n"
-namespace opencl {
-
namespace {
void DS_CHECK_STATUS(cl_int status, char const * name) {
@@ -671,6 +669,4 @@ ds_device const & getDeviceSelection(
return selectedDevice;
}
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */