/external/OpenCL-CTS/test_conformance/d3d11/ |
D | main.cpp | 325 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/ |
D | main.cpp | 327 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/ |
D | test_platform.cpp | 244 …cl_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()
|
D | test_create_context_from_type.cpp | 56 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/ |
D | cl_context.cc | 85 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()
|
D | cl_context.h | 56 cl_context_properties egl_context, 57 cl_context_properties egl_display,
|
D | environment.cc | 29 cl_context_properties egl_context, in CreateEnvironment() 30 cl_context_properties egl_display) { in CreateEnvironment()
|
/external/OpenCL-CTS/test_common/gl/ |
D | setup_win32.cpp | 27 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()
|
D | setup_x11.cpp | 56 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()
|
D | setup_osx.cpp | 79 …cl_context_properties properties[] = { CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE, (cl_context_p… in CreateCLContext()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | setup_egl.cpp | 105 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/ |
D | interop.h | 27 cl_context_properties 30 cl_context_properties
|
D | main.c | 139 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/ |
D | context.cpp | 30 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/ |
D | CLPlatform.cpp | 29 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()
|
D | CLPlatform.h | 43 static cl_context CreateContext(const cl_context_properties *properties, 50 static cl_context CreateContextFromType(const cl_context_properties *properties,
|
/external/mesa3d/include/CL/ |
D | cl_gl.h | 154 clGetGLContextInfoKHR(const cl_context_properties * properties, 161 const cl_context_properties * properties,
|
/external/angle/include/CL/ |
D | cl_gl.h | 142 clGetGLContextInfoKHR(const cl_context_properties * properties, 149 const cl_context_properties * properties,
|
/external/OpenCL-CTS/dependencies/ocl-headers/CL/ |
D | cl_gl.h | 142 clGetGLContextInfoKHR(const cl_context_properties * properties, 149 const cl_context_properties * properties,
|
/external/skqp/src/compute/skc/platforms/cl_12/interop/ |
D | interop_glfw.c | 490 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/ |
D | test_create_context.cpp | 83 cl_context_properties contextProperties[] = { in context_create() 85 (cl_context_properties)gPlatformIDdetected, in context_create() 87 (cl_context_properties)deviceWrapper->Device(), in context_create()
|
D | test_interop_sync.cpp | 87 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/ |
D | context.hpp | 38 typedef clover::property_list<cl_context_properties> property_list;
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | main.cpp | 241 …cl_context_properties context_properties[3] = {CL_CONTEXT_PLATFORM, (cl_context_properties)platfor… in create_cl_objects()
|
/external/angle/src/libANGLE/renderer/cl/ |
D | CLPlatformCL.cpp | 386 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()
|