Searched refs:num_of_devices (Results 1 – 4 of 4) sorted by relevance
/external/OpenCL-CTS/test_common/gl/ |
D | setup_x11.cpp | 76 cl_uint num_of_devices; in SupportsCLGLInterop() local 83 error = clGetDeviceIDs(platform, device_type, 64, devices, &num_of_devices); in SupportsCLGLInterop() 92 for (int i=0; i<(int)num_of_devices; i++) { in SupportsCLGLInterop() 94 …o("Device %d of %d does not support required extension cl_khr_gl_sharing.\n", i+1, num_of_devices); in SupportsCLGLInterop() 96 … log_info("Device %d of %d supports required extension cl_khr_gl_sharing.\n", i+1, num_of_devices); in SupportsCLGLInterop()
|
D | setup_osx.cpp | 108 cl_uint num_of_devices; in SupportsCLGLInterop() local 110 error = clGetDeviceIDs(NULL, device_type, 64, devices, &num_of_devices); in SupportsCLGLInterop() 116 for (int i=0; i<(int)num_of_devices; i++) { in SupportsCLGLInterop() 118 …o("Device %d of %d does not support required extension cl_APPLE_gl_sharing.\n", i, num_of_devices); in SupportsCLGLInterop() 120 …_info("Device %d of %d does support required extension cl_APPLE_gl_sharing.\n", i, num_of_devices); in SupportsCLGLInterop()
|
D | setup_win32.cpp | 164 cl_uint num_of_devices; in SupportsCLGLInterop() local 171 error = clGetDeviceIDs(m_platform, device_type, MAX_DEVICES, devices, &num_of_devices); in SupportsCLGLInterop() 178 for (int i=0; i<(int)num_of_devices; i++) { in SupportsCLGLInterop() 180 …o("Device %d of %d does not support required extension cl_khr_gl_sharing.\n", i+1, num_of_devices); in SupportsCLGLInterop() 182 … log_info("Device %d of %d supports required extension cl_khr_gl_sharing.\n", i+1, num_of_devices); in SupportsCLGLInterop()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | setup_egl.cpp | 153 cl_uint num_of_devices; in SupportsCLGLInterop() local 163 error = clGetDeviceIDs(_platform, device_type, MAX_DEVICES, devices, &num_of_devices); in SupportsCLGLInterop() 170 for (int i=0; i<(int)num_of_devices; i++) { in SupportsCLGLInterop() 173 …o("Device %d of %d does not support required extension cl_khr_gl_sharing.\n", i+1, num_of_devices); in SupportsCLGLInterop() 177 … log_info("Device %d of %d supports required extension cl_khr_gl_sharing.\n", i+1, num_of_devices); in SupportsCLGLInterop()
|