summaryrefslogtreecommitdiff
path: root/src/api/api_context.cpp
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2009-08-30 15:03:08 -0400
committerZack Rusin <zack@kde.org>2009-08-30 15:03:08 -0400
commitfe552119577560a7d842d852f1c37844b14a2e2f (patch)
treea8a8ebecce27f9dc891627115de10558ee3ad14d /src/api/api_context.cpp
parentf9b2a85968d82b938842606d5765348a3f9cd9d7 (diff)
reorganize the directory structure a bit
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;
+}