summaryrefslogtreecommitdiff
path: root/include/opencl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-16 17:48:43 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-16 17:51:20 +0300
commit11e1c55ce05a78a486b0ea5668b1a424cd9c8f11 (patch)
tree479f97629e7bada0e2a6c0c9ec19b8707a38eb3b /include/opencl
parent04b059ce0573ff56bbbb0aa7a007b635336e1829 (diff)
YAGNI
We use only one OpenCL device per context or program, so get rid of half-implemented (or half-reverted?) "support" for multiple devices per context. Change-Id: I951f29e867e5b3f96f6e051567ee38d607bd7ecf
Diffstat (limited to 'include/opencl')
-rw-r--r--include/opencl/openclwrapper.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/opencl/openclwrapper.hxx b/include/opencl/openclwrapper.hxx
index fe677729460b..1541739e7c95 100644
--- a/include/opencl/openclwrapper.hxx
+++ b/include/opencl/openclwrapper.hxx
@@ -43,7 +43,6 @@ struct GPUEnv
cl_platform_id mpPlatformID;
cl_device_type mDevType;
cl_context mpContext;
- cl_device_id *mpArryDevsID;
cl_device_id mpDevID;
cl_command_queue mpCmdQueue[OPENCL_CMDQUEUE_SIZE];
cl_program mpArryPrograms[MAX_CLFILE_NUM]; //one program object maps one kernel source file