summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-06-20 17:21:06 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2010-06-20 17:21:48 +1000
commite7248d5082c51094d249f5410cb13bbd1c802fac (patch)
tree8e163830574d626fcbbee540d8ccf723cf346c86
parentf8d5bfe785957f0e8dc4a6f16be158da3874c762 (diff)
Remove the OpenCL 1.1 TODO items that have been done.
-rw-r--r--doc/TODO-1.1.txt43
1 files changed, 1 insertions, 42 deletions
diff --git a/doc/TODO-1.1.txt b/doc/TODO-1.1.txt
index 3287bd6..b2ccc1e 100644
--- a/doc/TODO-1.1.txt
+++ b/doc/TODO-1.1.txt
@@ -2,56 +2,15 @@
Items to do for OpenCL 1.1
==========================
-This file contains some ideas for implementing OpenCL 1.1 features,
-based on the preliminary information revealed in the following file:
-
-http://www.khronos.org/registry/cl/api/1.0/cl.hpp
-
-Need to wait for the actual spec to be released before implementing these.
-
-Device queries to add to QCLDevice
-----------------------------------
-
-- CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF -> preferredHalfVectorSize()
-- CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR, _SHORT, etc -> nativeFooVectorSize()
-- CL_DEVICE_HOST_UNIFIED_MEMORY -> hasUnifiedMemory()
-
Kernels
-------
-- CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE (replacement for
- bestLocalWorkSize?).
-
-Events
-------
-
-- clSetEventCallback() - can we use this inside toFuture() to avoid the
- background waiter thread? QCLEventWatcher? Should be able to hide this
- detail from the user of QtOpenCL.
-
-User Events
------------
-
-- QCLUserEvent which inherits from QCLEvent.
-- clCreateUserEvent() -> QCLContext::createUserEvent(), which returns a
- new event object, or null if not OpenCL 1.1.
-- clSetUserEventStatus() -> setFinished() and setError(cl_int).
+- Use preferredWorkSizeMultiple() to determine best 2D/3D sizes.
Memory objects
--------------
-- Destructor callbacks -> what is the use case? Can we hide this?
-- clCreateSubBuffer() -> QCLBuffer::createSubBuffer() ?
- clEnqueueReadBufferRect(), clEnqueueWriteBufferRect(), and
clEnqueueCopyBufferRect() -> should be able to implement as overloads
to QCLBuffer::read(), write(), and copyTo(), with fallback implementations
for OpenCL 1.0.
-- CL_MEM_ASSOCIATED_MEMOBJECT -> QCLBuffer::parentBuffer() ?
-- CL_MEM_OFFSET -> QCLBuffer::offset() ?
-
-config.tests
-------------
-
-- Add a config.test that checks for the new event and memory object
- functions, and sets "opencl_1_1" or similar on qmake when building
- the QtOpenCL library.