Home
last modified time | relevance | path

Searched refs:cl_context (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/boost/libs/compute/test/
Dtest_context.cpp27 cl_context ctx = clCreateContext(0, 1, &id, 0, 0, 0); in BOOST_AUTO_TEST_CASE()
34 BOOST_CHECK(cl_context(context) == ctx); in BOOST_AUTO_TEST_CASE()
45 BOOST_VERIFY(cl_context(context1) != cl_context()); in BOOST_AUTO_TEST_CASE()
48 BOOST_VERIFY(cl_context(context2) != cl_context()); in BOOST_AUTO_TEST_CASE()
49 BOOST_VERIFY(cl_context(context1) == cl_context()); in BOOST_AUTO_TEST_CASE()
/third_party/flutter/skia/third_party/externals/opencl-lib/3-0/include/CL/internal/
Dcl_icd_amd.h52 typedef cl_context(CL_API_CALL* clCreateContext_fn)(
58 typedef cl_context(CL_API_CALL* clCreateContextFromType_fn)(
63 typedef cl_int(CL_API_CALL* clRetainContext_fn)(cl_context /* context */)
66 typedef cl_int(CL_API_CALL* clReleaseContext_fn)(cl_context /* context */)
70 cl_context /* context */, cl_context_info /* param_name */, size_t /* param_value_size */,
74 cl_context /* context */, cl_device_id /* device */,
95 cl_context /* context */, cl_mem_flags /* flags */, size_t /* size */, void* /* host_ptr */,
103 cl_context /* context */, cl_mem_flags /* flags */, const cl_image_format* /* image_format */,
108 cl_context /* context */, cl_mem_flags /* flags */, const cl_image_format* /* image_format */,
118 cl_context /* context */, cl_mem_flags /* flags */, cl_mem_object_type /* image_type */,
[all …]
/third_party/opencl-headers/include/
Dopencl_wrapper.h50 using clCreateContextFunc = cl_context (*)(const cl_context_properties *, cl_uint, const cl_device_…
57 using clCreateContextFromTypeFunc = cl_context (*)(const cl_context_properties *, cl_device_type,
61 using clReleaseContextFunc = cl_int (*)(cl_context);
78 using clCreateCommandQueueFunc = cl_command_queue (*)(cl_context, cl_device_id, cl_command_queue_pr…
81 using clCreateProgramWithBinaryFunc = cl_program (*)(cl_context, cl_uint, const cl_device_id *, con…
83 using clRetainContextFunc = cl_int (*)(cl_context context);
84 using clGetContextInfoFunc = cl_int (*)(cl_context, cl_context_info, size_t, void *, size_t *);
91 using clCreateBufferFunc = cl_mem (*)(cl_context, cl_mem_flags, size_t, void *, cl_int *);
92 using clCreateImage2DFunc = cl_mem (*)(cl_context, cl_mem_flags, const cl_image_format *, size_t, s…
94 using clImportMemoryARMFunc = cl_mem (*)(cl_context, cl_mem_flags, const cl_image_format *, void *,…
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/gpu/opencl/
Dopencl_wrapper.h49 using clCreateContextFunc = cl_context (*)(const cl_context_properties *, cl_uint, const cl_device_…
56 using clCreateContextFromTypeFunc = cl_context (*)(const cl_context_properties *, cl_device_type,
60 using clReleaseContextFunc = cl_int (*)(cl_context);
77 using clCreateCommandQueueFunc = cl_command_queue (*)(cl_context, cl_device_id, cl_command_queue_pr…
80 using clCreateProgramWithBinaryFunc = cl_program (*)(cl_context, cl_uint, const cl_device_id *, con…
82 using clRetainContextFunc = cl_int (*)(cl_context context);
83 using clGetContextInfoFunc = cl_int (*)(cl_context, cl_context_info, size_t, void *, size_t *);
90 using clCreateBufferFunc = cl_mem (*)(cl_context, cl_mem_flags, size_t, void *, cl_int *);
91 using clCreateImage2DFunc = cl_mem (*)(cl_context, cl_mem_flags, const cl_image_format *, size_t, s…
93 using clImportMemoryARMFunc = cl_mem (*)(cl_context, cl_mem_flags, const cl_image_format *, void *,…
[all …]
/third_party/skia/third_party/externals/angle2/include/CL/
Dcl_icd.h84 typedef cl_context(CL_API_CALL *cl_api_clCreateContext)(
90 typedef cl_context(CL_API_CALL *cl_api_clCreateContextFromType)(
96 cl_context context) CL_API_SUFFIX__VERSION_1_0;
99 cl_context context) CL_API_SUFFIX__VERSION_1_0;
102 cl_context context, cl_context_info param_name, size_t param_value_size,
107 cl_context context, cl_device_id device,
115 cl_context /* context */, cl_device_id /* device */,
138 cl_context context, cl_mem_flags flags, size_t size, void *host_ptr,
144 cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
157 cl_context context, const cl_mem_properties *properties, cl_mem_flags flags,
[all …]
Dcl_ext.h127 clCreateProgramWithILKHR(cl_context context,
133 (CL_API_CALL *clCreateProgramWithILKHR_fn)(cl_context context,
179 clTerminateContextKHR(cl_context context) CL_API_SUFFIX__VERSION_1_2;
182 (CL_API_CALL *clTerminateContextKHR_fn)(cl_context context) CL_API_SUFFIX__VERSION_1_2;
204 clCreateCommandQueueWithPropertiesKHR(cl_context context,
210 (CL_API_CALL *clCreateCommandQueueWithPropertiesKHR_fn)(cl_context context,
748 clImportMemoryARM( cl_context context,
793 clSVMAllocARM(cl_context context,
799 clSVMFreeARM(cl_context context,
1065 cl_context context,
[all …]
Dcl_gl.h52 clCreateFromGLBuffer(cl_context context,
60 clCreateFromGLTexture(cl_context context,
70 clCreateFromGLRenderbuffer(cl_context context,
106 clCreateFromGLTexture2D(cl_context context,
114 clCreateFromGLTexture3D(cl_context context,
161 clCreateEventFromGLsyncKHR(cl_context context,
Dcl.h31 typedef struct _cl_context * cl_context; typedef
993 clSetDefaultDeviceCommandQueue(cl_context context,
1009 extern CL_API_ENTRY cl_context CL_API_CALL
1020 extern CL_API_ENTRY cl_context CL_API_CALL
1031 clRetainContext(cl_context context) CL_API_SUFFIX__VERSION_1_0;
1034 clReleaseContext(cl_context context) CL_API_SUFFIX__VERSION_1_0;
1037 clGetContextInfo(cl_context context,
1046 clSetContextDestructorCallback(cl_context context,
1047 void (CL_CALLBACK* pfn_notify)(cl_context context,
1058 clCreateCommandQueueWithProperties(cl_context context,
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationCL_autogen.h53 cl_int ValidateRetainContext(cl_context context);
54 cl_int ValidateReleaseContext(cl_context context);
55 cl_int ValidateGetContextInfo(cl_context context,
67 cl_int ValidateCreateBuffer(cl_context context,
73 cl_int ValidateGetSupportedImageFormats(cl_context context,
96 cl_int ValidateCreateProgramWithSource(cl_context context,
100 cl_int ValidateCreateProgramWithBinary(cl_context context,
287 cl_int ValidateCreateImage2D(cl_context context,
294 cl_int ValidateCreateImage3D(cl_context context,
310 cl_int ValidateCreateCommandQueue(cl_context context,
[all …]
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dcl_stubs_autogen.h41 cl_int SetDefaultDeviceCommandQueue(cl_context context,
48 cl_context CreateContext(const cl_context_properties *properties,
57 cl_context CreateContextFromType(const cl_context_properties *properties,
65 cl_int RetainContext(cl_context context);
66 cl_int ReleaseContext(cl_context context);
67 cl_int GetContextInfo(cl_context context,
72 cl_int SetContextDestructorCallback(cl_context context,
73 void(CL_CALLBACK *pfn_notify)(cl_context context,
76 cl_command_queue CreateCommandQueueWithProperties(cl_context context,
87 cl_mem CreateBuffer(cl_context context,
[all …]
Dentry_points_cl_autogen.h38 cl_context CL_API_CALL clCreateContext(const cl_context_properties *properties,
47 cl_context CL_API_CALL
56 cl_int CL_API_CALL clRetainContext(cl_context context);
57 cl_int CL_API_CALL clReleaseContext(cl_context context);
58 cl_int CL_API_CALL clGetContextInfo(cl_context context,
70 cl_mem CL_API_CALL clCreateBuffer(cl_context context,
77 cl_int CL_API_CALL clGetSupportedImageFormats(cl_context context,
100 cl_program CL_API_CALL clCreateProgramWithSource(cl_context context,
105 cl_program CL_API_CALL clCreateProgramWithBinary(cl_context context,
298 cl_mem CL_API_CALL clCreateImage2D(cl_context context,
[all …]
Dcl_stubs.cpp108 cl_int SetDefaultDeviceCommandQueue(cl_context context, in SetDefaultDeviceCommandQueue()
130 cl_context CreateContext(const cl_context_properties *properties, in CreateContext()
144 cl_context CreateContextFromType(const cl_context_properties *properties, in CreateContextFromType()
157 cl_int RetainContext(cl_context context) in RetainContext()
163 cl_int ReleaseContext(cl_context context) in ReleaseContext()
173 cl_int GetContextInfo(cl_context context, in GetContextInfo()
183 cl_int SetContextDestructorCallback(cl_context context, in SetContextDestructorCallback()
184 void(CL_CALLBACK *pfn_notify)(cl_context context, in SetContextDestructorCallback()
192 cl_command_queue CreateCommandQueueWithProperties(cl_context context, in CreateCommandQueueWithProperties()
226 cl_mem CreateBuffer(cl_context context, in CreateBuffer()
[all …]
/third_party/opencl-headers/CL/
Dcl_icd.h84 typedef CL_API_ENTRY cl_context(CL_API_CALL *cl_api_clCreateContext)(
90 typedef CL_API_ENTRY cl_context(CL_API_CALL *cl_api_clCreateContextFromType)(
96 cl_context context) CL_API_SUFFIX__VERSION_1_0;
99 cl_context context) CL_API_SUFFIX__VERSION_1_0;
102 cl_context context, cl_context_info param_name, size_t param_value_size,
107 cl_context context, cl_device_id device,
115 cl_context /* context */, cl_device_id /* device */,
138 cl_context context, cl_mem_flags flags, size_t size, void *host_ptr,
144 cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
157 cl_context context, const cl_mem_properties *properties, cl_mem_flags flags,
[all …]
Dcl_ext_intel.h171 cl_context context,
178 cl_context context,
477 cl_context context,
485 cl_context context,
493 cl_context context,
502 cl_context context,
511 cl_context context,
520 cl_context context,
529 cl_context context,
534 cl_context context,
[all …]
Dcl_gl.h52 clCreateFromGLBuffer(cl_context context,
60 clCreateFromGLTexture(cl_context context,
70 clCreateFromGLRenderbuffer(cl_context context,
106 clCreateFromGLTexture2D(cl_context context,
114 clCreateFromGLTexture3D(cl_context context,
/third_party/mesa3d/include/CL/
Dcl_icd.h84 typedef CL_API_ENTRY cl_context(CL_API_CALL *cl_api_clCreateContext)(
90 typedef CL_API_ENTRY cl_context(CL_API_CALL *cl_api_clCreateContextFromType)(
96 cl_context context) CL_API_SUFFIX__VERSION_1_0;
99 cl_context context) CL_API_SUFFIX__VERSION_1_0;
102 cl_context context, cl_context_info param_name, size_t param_value_size,
107 cl_context context, cl_device_id device,
115 cl_context /* context */, cl_device_id /* device */,
138 cl_context context, cl_mem_flags flags, size_t size, void *host_ptr,
144 cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
157 cl_context context, const cl_mem_properties *properties, cl_mem_flags flags,
[all …]
Dcl_ext_intel.h171 cl_context context,
178 cl_context context,
477 cl_context context,
485 cl_context context,
493 cl_context context,
502 cl_context context,
511 cl_context context,
520 cl_context context,
529 cl_context context,
534 cl_context context,
[all …]
Dcl_gl.h64 clCreateFromGLBuffer(cl_context context,
72 clCreateFromGLTexture(cl_context context,
82 clCreateFromGLRenderbuffer(cl_context context,
118 clCreateFromGLTexture2D(cl_context context,
126 clCreateFromGLTexture3D(cl_context context,
Dcl.h31 typedef struct _cl_context * cl_context; typedef
991 clSetDefaultDeviceCommandQueue(cl_context context,
1007 extern CL_API_ENTRY cl_context CL_API_CALL
1018 extern CL_API_ENTRY cl_context CL_API_CALL
1029 clRetainContext(cl_context context) CL_API_SUFFIX__VERSION_1_0;
1032 clReleaseContext(cl_context context) CL_API_SUFFIX__VERSION_1_0;
1035 clGetContextInfo(cl_context context,
1044 clSetContextDestructorCallback(cl_context context,
1045 void (CL_CALLBACK* pfn_notify)(cl_context context,
1056 clCreateCommandQueueWithProperties(cl_context context,
[all …]
/third_party/mesa3d/src/gallium/frontends/clover/api/
Dcontext.cpp29 CLOVER_API cl_context
61 CLOVER_API cl_context
94 clRetainContext(cl_context d_ctx) try { in clRetainContext()
103 clReleaseContext(cl_context d_ctx) try { in clReleaseContext()
114 clGetContextInfo(cl_context d_ctx, cl_context_info param, in clGetContextInfo()
147 clSetContextDestructorCallback(cl_context d_ctx, in clSetContextDestructorCallback()
148 void (CL_CALLBACK *pfn_notify)(cl_context, void *), in clSetContextDestructorCallback() argument
/third_party/flutter/skia/third_party/externals/opencl-lib/3-0/include/CL/
Dcl.h46 typedef struct _cl_context * cl_context; typedef
707 clSetDefaultDeviceCommandQueue(cl_context /* context */,
722 extern CL_API_ENTRY cl_context CL_API_CALL
730 extern CL_API_ENTRY cl_context CL_API_CALL
738 clRetainContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
741 clReleaseContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
744 clGetContextInfo(cl_context /* context */,
752 clCreateCommandQueueWithProperties(cl_context /* context */,
772 clCreateBuffer(cl_context /* context */,
786 clCreateImage(cl_context /* context */,
[all …]
Dcl_gl.h64 clCreateFromGLBuffer(cl_context /* context */,
70 clCreateFromGLTexture(cl_context /* context */,
78 clCreateFromGLRenderbuffer(cl_context /* context */,
114 clCreateFromGLTexture2D(cl_context /* context */,
122 clCreateFromGLTexture3D(cl_context /* context */,
Dcl_egl.h68 clCreateFromEGLImageKHR(cl_context /* context */,
76 cl_context context,
121 clCreateEventFromEGLSyncKHR(cl_context /* context */,
127 cl_context context,
/third_party/boost/boost/compute/
Dcontext.hpp101 explicit context(cl_context context, bool retain = true) in context()
169 cl_context& get() const in get()
171 return const_cast<cl_context &>(m_context); in get()
220 operator cl_context() const in operator cl_context()
226 cl_context m_context;
/third_party/boost/libs/compute/include/boost/compute/
Dcontext.hpp101 explicit context(cl_context context, bool retain = true) in context()
169 cl_context& get() const in get()
171 return const_cast<cl_context &>(m_context); in get()
220 operator cl_context() const in operator cl_context()
226 cl_context m_context;

12345