summaryrefslogtreecommitdiff
path: root/src/api/api_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/api_context.cpp')
-rw-r--r--src/api/api_context.cpp47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/api/api_context.cpp b/src/api/api_context.cpp
new file mode 100644
index 0000000..fbf3af9
--- /dev/null
+++ b/src/api/api_context.cpp
@@ -0,0 +1,47 @@
+#include <OpenCL/cl.h>
+
+
+// Context APIs
+
+cl_context
+clCreateContext(cl_context_properties properties,
+ cl_uint num_devices,
+ const cl_device_id * devices,
+ logging_fn pfn_notify,
+ void * user_data,
+ cl_int * errcode_ret)
+{
+ return 0;
+}
+
+cl_context
+clCreateContextFromType(cl_context_properties properties,
+ cl_device_type device_type,
+ logging_fn pfn_notify,
+ void * user_data,
+ cl_int * errcode_ret)
+{
+ return 0;
+}
+
+cl_int
+clRetainContext(cl_context context)
+{
+ return 0;
+}
+
+cl_int
+clReleaseContext(cl_context context)
+{
+ return 0;
+}
+
+cl_int
+clGetContextInfo(cl_context context,
+ cl_context_info param_name,
+ size_t param_value_size,
+ void * param_value,
+ size_t * param_value_size_ret)
+{
+ return 0;
+}