summaryrefslogtreecommitdiff
path: root/src/core/api_context.cpp
blob: fbf3af92351cff76a25f7f9635ef91248a81b613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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;
}