diff options
author | Dag Lem <dag@nimrod.no> | 2013-05-16 23:38:49 +0200 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-05-17 14:18:05 +0800 |
commit | 54751a0818673d950a33e272036fccb1005959b5 (patch) | |
tree | b8003d0a15dfe64d4060cf9a4f817366923688e9 /src | |
parent | af3449c2928f6652db6961e56e924566820cac11 (diff) | |
download | beignet-54751a0818673d950a33e272036fccb1005959b5.tar.gz |
Stubs for C++ Bindings
Signed-off-by: Dag Lem <dag@nimrod.no>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cl_api.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/cl_api.c b/src/cl_api.c index cfbb44f4..39815546 100644 --- a/src/cl_api.c +++ b/src/cl_api.c @@ -87,6 +87,31 @@ clGetDeviceInfo(cl_device_id device, param_value_size_ret); } +cl_int +clCreateSubDevices(cl_device_id in_device, + const cl_device_partition_property * properties, + cl_uint num_devices, + cl_device_id * out_devices, + cl_uint * num_devices_ret) +{ + NOT_IMPLEMENTED; + return 0; +} + +cl_int +clRetainDevice(cl_device_id device) +{ + // XXX stub for C++ Bindings + return CL_SUCCESS; +} + +cl_int +clReleaseDevice(cl_device_id device) +{ + // XXX stub for C++ Bindings + return CL_SUCCESS; +} + cl_context clCreateContext(const cl_context_properties * properties, cl_uint num_devices, |