aboutsummaryrefslogtreecommitdiff
path: root/src/api/api_device.cpp
AgeCommit message (Collapse)Author
2015-09-29ICD: Update Platform and DeviceInterface objects to be ICD compatible.Gil Pitney
Use the ICD templates to: a) Embed the dispatch table pointer into the object; and b) Convert between OpenCL API objects and their internal Coal namespace representations. This involved explicitly up/down casting whereever there was an explicit or implicit cast between a cl_<object> type and a Coal::<object> type. This was validated by running the sanity tests, and the Khronos conformance tests without an ICD loader; then installing the Khronos ICD loader, and running that subset of conformance tests that would just invoke Platform and Device APIs. Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2015-07-17clRetainDevice(): return CL_SUCCESSGil Pitney
Minor bug fix, caught thanks to compiler warning. Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2015-05-14Implemented clCreateSubDevices() PARITION_EQUALLY capabibility.Gil Pitney
This is a WIP patch beginning the addition of the v1.2 device fission feature. Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2015-04-29Stub out new v1.2 functions, sufficient to allow building of test_buffersGil Pitney
Khronos test 'test_buffers' requires new v1.2 API symbols to compile. This is in preparation for developing and validating the new v1.2 buffer functions (clEnqueueFillBuffer(), clEnqueueMigrateMemObjects()). Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2014-10-28Initial Commit: Based on TI OpenCL v0.8, originally based on clover.shamrock_v0.8Gil Pitney
This is a continuation of the clover OpenCL project: http://people.freedesktop.org/~steckdenis/clover based on the contributions from Texas Instruments for Keystone II DSP device: git.ti.com/opencl and adding contributions from Linaro for ARM CPU-only support. See README.txt for more info, and build instructions. Signed-off-by: Gil Pitney <gil.pitney@linaro.org>