Home
last modified time | relevance | path

Searched refs:cl_context_properties (Results 1 – 25 of 52) sorted by relevance

123

/external/OpenCL-CTS/test_conformance/d3d11/
Dmain.cpp325 cl_context_properties properties[5]; in TestDeviceContextCreate()
328 properties[0] = (cl_context_properties)CL_CONTEXT_D3D11_DEVICE_KHR; in TestDeviceContextCreate()
329 properties[1] = (cl_context_properties)pDevice; in TestDeviceContextCreate()
330 properties[2] = (cl_context_properties)CL_CONTEXT_INTEROP_USER_SYNC; in TestDeviceContextCreate()
331 properties[3] = (cl_context_properties)CL_TRUE; in TestDeviceContextCreate()
332 properties[4] = (cl_context_properties)0; in TestDeviceContextCreate()
349 properties[0] = (cl_context_properties)CL_CONTEXT_D3D11_DEVICE_KHR; in TestDeviceContextCreate()
350 properties[1] = (cl_context_properties)pDevice; in TestDeviceContextCreate()
351 properties[2] = (cl_context_properties)CL_CONTEXT_INTEROP_USER_SYNC; in TestDeviceContextCreate()
352 properties[3] = (cl_context_properties)CL_FALSE; in TestDeviceContextCreate()
[all …]
/external/OpenCL-CTS/test_conformance/d3d10/
Dmain.cpp327 cl_context_properties properties[5]; in TestDeviceContextCreate()
330 properties[0] = (cl_context_properties)CL_CONTEXT_D3D10_DEVICE_KHR; in TestDeviceContextCreate()
331 properties[1] = (cl_context_properties)pDevice; in TestDeviceContextCreate()
332 properties[2] = (cl_context_properties)CL_CONTEXT_INTEROP_USER_SYNC; in TestDeviceContextCreate()
333 properties[3] = (cl_context_properties)CL_TRUE; in TestDeviceContextCreate()
334 properties[4] = (cl_context_properties)0; in TestDeviceContextCreate()
351 properties[0] = (cl_context_properties)CL_CONTEXT_D3D10_DEVICE_KHR; in TestDeviceContextCreate()
352 properties[1] = (cl_context_properties)pDevice; in TestDeviceContextCreate()
353 properties[2] = (cl_context_properties)CL_CONTEXT_INTEROP_USER_SYNC; in TestDeviceContextCreate()
354 properties[3] = (cl_context_properties)CL_FALSE; in TestDeviceContextCreate()
[all …]
/external/OpenCL-CTS/test_conformance/api/
Dtest_platform.cpp244cl_context_properties properties[] = { CL_CONTEXT_PLATFORM, (cl_context_properties)platforms[p], 0… in test_get_platform_ids()
264 memset(properties, 0, sizeof(cl_context_properties)*3); in test_get_platform_ids()
266 …err = clGetContextInfo(context, CL_CONTEXT_PROPERTIES, sizeof(cl_context_properties)*3, properties… in test_get_platform_ids()
268 if (returned_size != sizeof(cl_context_properties)*3) { in test_get_platform_ids()
270 returned_size, sizeof(cl_context_properties)*3); in test_get_platform_ids()
274 …if (properties[0] != (cl_context_properties)CL_CONTEXT_PLATFORM || properties[1] != (cl_context_pr… in test_get_platform_ids()
Dtest_create_context_from_type.cpp56 cl_context_properties properties[3] = { in test_create_context_from_type()
57 (cl_context_properties)CL_CONTEXT_PLATFORM, in test_create_context_from_type()
58 (cl_context_properties)platform, in test_create_context_from_type()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_context.cc85 cl_context_properties* properties, in CreateCLContext()
148 cl_context_properties egl_context, in CreateCLGLContext()
149 cl_context_properties egl_display, in CreateCLGLContext()
154 cl_context_properties platform = in CreateCLGLContext()
155 reinterpret_cast<cl_context_properties>(device.platform()); in CreateCLGLContext()
156 cl_context_properties props[] = {CL_GL_CONTEXT_KHR, in CreateCLGLContext()
Dcl_context.h56 cl_context_properties egl_context,
57 cl_context_properties egl_display,
Denvironment.cc29 cl_context_properties egl_context, in CreateEnvironment()
30 cl_context_properties egl_display) { in CreateEnvironment()
/external/OpenCL-CTS/test_common/gl/
Dsetup_win32.cpp27 const cl_context_properties *properties,
74 cl_context_properties properties[] = { in CreateCLContext()
75 CL_CONTEXT_PLATFORM, (cl_context_properties) m_platform, in CreateCLContext()
76 CL_GL_CONTEXT_KHR, (cl_context_properties) hGLRC, in CreateCLContext()
77 CL_WGL_HDC_KHR, (cl_context_properties) hDC, in CreateCLContext()
Dsetup_x11.cpp56 cl_context_properties properties[] = { in CreateCLContext()
57 CL_GL_CONTEXT_KHR, (cl_context_properties) context, in CreateCLContext()
58 CL_GLX_DISPLAY_KHR, (cl_context_properties) dpy, in CreateCLContext()
Dsetup_osx.cpp79cl_context_properties properties[] = { CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE, (cl_context_p… in CreateCLContext()
/external/OpenCL-CTS/test_conformance/gles/
Dsetup_egl.cpp105 cl_context_properties properties[] = { in CreateCLContext()
106 CL_CONTEXT_PLATFORM, (cl_context_properties) _platform, in CreateCLContext()
107 CL_GL_CONTEXT_KHR, (cl_context_properties) _context, in CreateCLContext()
108 CL_EGL_DISPLAY_KHR, (cl_context_properties) _display, in CreateCLContext()
/external/skqp/src/compute/skc/
Dinterop.h27 cl_context_properties
30 cl_context_properties
Dmain.c139 cl_context_properties context_properties_cl[] = in main()
141 CL_CONTEXT_PLATFORM, (cl_context_properties)platform_id_cl, in main()
/external/mesa3d/src/gallium/frontends/clover/api/
Dcontext.cpp30 clCreateContext(const cl_context_properties *d_props, cl_uint num_devs, in clCreateContext()
62 clCreateContextFromType(const cl_context_properties *d_props, in clCreateContextFromType()
133 buf.as_vector<cl_context_properties>() = desc(ctx.properties()); in clGetContextInfo()
/external/angle/src/libANGLE/
DCLPlatform.cpp29 Context::PropArray ParseContextProperties(const cl_context_properties *properties, in ParseContextProperties()
36 const cl_context_properties *propIt = properties; in ParseContextProperties()
213 cl_context Platform::CreateContext(const cl_context_properties *properties, in CreateContext()
234 cl_context Platform::CreateContextFromType(const cl_context_properties *properties, in CreateContextFromType()
DCLPlatform.h43 static cl_context CreateContext(const cl_context_properties *properties,
50 static cl_context CreateContextFromType(const cl_context_properties *properties,
/external/mesa3d/include/CL/
Dcl_gl.h154 clGetGLContextInfoKHR(const cl_context_properties * properties,
161 const cl_context_properties * properties,
/external/angle/include/CL/
Dcl_gl.h142 clGetGLContextInfoKHR(const cl_context_properties * properties,
149 const cl_context_properties * properties,
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl_gl.h142 clGetGLContextInfoKHR(const cl_context_properties * properties,
149 const cl_context_properties * properties,
/external/skqp/src/compute/skc/platforms/cl_12/interop/
Dinterop_glfw.c490 cl_context_properties
493 return (cl_context_properties)wglGetCurrentContext(); in skc_interop_get_wgl_context()
496 cl_context_properties
499 return (cl_context_properties)wglGetCurrentDC(); in skc_interop_get_wgl_dc()
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/
Dtest_create_context.cpp83 cl_context_properties contextProperties[] = { in context_create()
85 (cl_context_properties)gPlatformIDdetected, in context_create()
87 (cl_context_properties)deviceWrapper->Device(), in context_create()
Dtest_interop_sync.cpp87 cl_context_properties contextProperties[] = { in interop_user_sync()
89 (cl_context_properties)gPlatformIDdetected, in interop_user_sync()
91 (cl_context_properties)deviceWrapper->Device(), in interop_user_sync()
/external/mesa3d/src/gallium/frontends/clover/core/
Dcontext.hpp38 typedef clover::property_list<cl_context_properties> property_list;
/external/OpenCL-CTS/test_conformance/SVM/
Dmain.cpp241cl_context_properties context_properties[3] = {CL_CONTEXT_PLATFORM, (cl_context_properties)platfor… in create_cl_objects()
/external/angle/src/libANGLE/renderer/cl/
DCLPlatformCL.cpp386 cl_context_properties properties[] = { in createContext()
387 CL_CONTEXT_PLATFORM, reinterpret_cast<cl_context_properties>(mNative), in createContext()
409 cl_context_properties properties[] = { in createContextFromType()
410 CL_CONTEXT_PLATFORM, reinterpret_cast<cl_context_properties>(mNative), in createContextFromType()

123