Home
last modified time | relevance | path

Searched refs:deviceType (Results 1 - 25 of 99) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/util/
H A DEGLPlatformParameters.h40 EGLint deviceType) in EGLPlatformParameters()
44 deviceType(deviceType) in EGLPlatformParameters()
50 EGLint deviceType, in EGLPlatformParameters()
55 deviceType(deviceType), in EGLPlatformParameters()
61 return std::tie(renderer, majorVersion, minorVersion, deviceType, presentPath, in tie()
77 EGLint deviceType = EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE; member
/third_party/mindspore/test/unittest/
H A Dnnrt_delegate_unit_test.cpp83 OH_AI_DeviceType deviceType = OH_AI_DeviceInfoGetDeviceType(nnrtDeviceInfo); in HWTEST() local
84 printf("==========deviceType:%d\n", deviceType); in HWTEST()
86 ASSERT_EQ(deviceType, OH_AI_DEVICETYPE_NNRT); in HWTEST()
94 deviceType = OH_AI_DeviceInfoGetDeviceType(nnrtDeviceInfo); in HWTEST()
95 printf("==========deviceType:%d\n", deviceType); in HWTEST()
96 ASSERT_EQ(deviceType, OH_AI_DEVICETYPE_NNRT); in HWTEST()
106 deviceType = OH_AI_DeviceInfoGetDeviceType(nnrtDeviceInfo); in HWTEST()
107 printf("==========deviceType in HWTEST()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A Drenderer9_utils.cpp418 D3DDEVTYPE deviceType, in GenerateTextureFormatCaps()
432 adapter, deviceType, adapterFormat, 0, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
437 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, 0, in GenerateTextureFormatCaps()
439 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, 0, in GenerateTextureFormatCaps()
444 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, in GenerateTextureFormatCaps()
447 SUCCEEDED(d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, in GenerateTextureFormatCaps()
454 d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, D3DUSAGE_QUERY_FILTER, in GenerateTextureFormatCaps()
461 d3d9->CheckDeviceFormat(adapter, deviceType, adapterFormat, D3DUSAGE_RENDERTARGET, in GenerateTextureFormatCaps()
466 adapter, deviceType, adapterFormat, D3DUSAGE_QUERY_SRGBWRITE, D3DRTYPE_TEXTURE, in GenerateTextureFormatCaps()
474 d3d9->CheckDeviceFormat(adapter, deviceType, adapterForma in GenerateTextureFormatCaps()
416 GenerateTextureFormatCaps(GLenum internalFormat, IDirect3D9 *d3d9, D3DDEVTYPE deviceType, UINT adapter, D3DFORMAT adapterFormat) GenerateTextureFormatCaps() argument
497 GenerateCaps(IDirect3D9 *d3d9, IDirect3DDevice9 *device, D3DDEVTYPE deviceType, UINT adapter, gl::Caps *caps, gl::TextureCapsMap *textureCapsMap, gl::Extensions *extensions, gl::Limitations *limitations) GenerateCaps() argument
[all...]
H A Drenderer9_utils.h67 D3DDEVTYPE deviceType,
/third_party/mindspore/test/utils/
H A Dmodel_utils.cpp48 OH_AI_DeviceType deviceType = OH_AI_DeviceInfoGetDeviceType(cpuDeviceInfo); in AddContextDeviceCPU() local
49 printf("==========deviceType:%d\n", deviceType); in AddContextDeviceCPU()
50 ASSERT_EQ(deviceType, OH_AI_DEVICETYPE_CPU); in AddContextDeviceCPU()
87 OH_AI_DeviceType deviceType = OH_AI_DeviceInfoGetDeviceType(nnrtDeviceInfo); in AddContextDeviceNNRT() local
88 printf("==========deviceType:%d\n", deviceType); in AddContextDeviceNNRT()
89 ASSERT_EQ(deviceType, OH_AI_DEVICETYPE_NNRT); in AddContextDeviceNNRT()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DFunctionsGL.cpp135 EGLint deviceType = in initialize() local
151 if (deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_NULL_ANGLE) in initialize()
169 if (deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_NULL_ANGLE) in initialize()
187 if (deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_NULL_ANGLE) in initialize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DCLDeviceImpl.cpp17 CLDeviceImpl::Info::Info(cl::DeviceType deviceType) : type(deviceType) {} in Info() argument
H A DCLPlatformImpl.h56 cl::DeviceType deviceType,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DDevice.cpp48 egl::Error Device::CreateDevice(EGLint deviceType, void *nativeDevice, Device **outDevice) in CreateDevice() argument
55 if (deviceType == EGL_D3D11_DEVICE_ANGLE) in CreateDevice()
57 newDeviceImpl.reset(new rx::DeviceD3D(deviceType, nativeDevice)); in CreateDevice()
H A DCLPlatform.cpp182 cl_int Platform::getDeviceIDs(DeviceType deviceType, in getDeviceIDs() argument
190 if (IsDeviceTypeMatch(deviceType, device->getInfo().type)) in getDeviceIDs()
235 DeviceType deviceType, in CreateContextFromType()
244 return Object::Create<Context>(errorCode, *platform, std::move(propArray), deviceType, notify, in CreateContextFromType()
234 CreateContextFromType(const cl_context_properties *properties, DeviceType deviceType, ContextErrorCB notify, void *userData, cl_int &errorCode) CreateContextFromType() argument
H A DCLPlatform.h38 cl_int getDeviceIDs(DeviceType deviceType,
51 DeviceType deviceType,
H A DDevice.h44 static egl::Error CreateDevice(EGLint deviceType, void *nativeDevice, Device **outDevice);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DDeviceD3D.cpp19 DeviceD3D::DeviceD3D(GLint deviceType, void *nativeDevice) in DeviceD3D() argument
20 : mDevice(nativeDevice), mDeviceType(deviceType), mIsInitialized(false) in DeviceD3D()
H A DDeviceD3D.h21 DeviceD3D(EGLint deviceType, void *nativeDevice);
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
H A DtcuANGLEPlatform.cpp164 eglw::EGLAttrib deviceType, in initAttribs()
173 if (deviceType != EGL_DONT_CARE) in initAttribs()
176 attribs.push_back(deviceType); in initAttribs()
163 initAttribs(eglw::EGLAttrib type, eglw::EGLAttrib deviceType, eglw::EGLAttrib majorVersion, eglw::EGLAttrib minorVersion) initAttribs() argument
H A DtcuANGLEPlatform.h58 eglw::EGLAttrib deviceType = -1,
/third_party/skia/third_party/externals/angle2/src/common/vulkan/
H A Dvulkan_icd.cpp271 if (physicalDevicePropertiesOut->deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU)
276 if (physicalDevicePropertiesOut->deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU &&
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLDisplayPowerPreferenceTest.cpp103 GLenum deviceType = GetParam().getDeviceType(); in initializeDisplayWithPowerPreference() local
113 displayAttributes.push_back(deviceType); in initializeDisplayWithPowerPreference()
H A DEGLRobustnessTest.cpp38 if (platform.deviceType != EGL_DONT_CARE)
41 displayAttributes.push_back(platform.deviceType);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
H A DCLPlatformCL.h32 cl::DeviceType deviceType,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DCLPlatformVk.h30 cl::DeviceType deviceType,
H A DCLPlatformVk.cpp78 cl::DeviceType deviceType, in createContextFromType()
77 createContextFromType(cl::Context &context, cl::DeviceType deviceType, bool userSync, cl_int &errorCode) createContextFromType() argument
/third_party/vulkan-loader/tests/
H A Dloader_regression_tests.cpp2555 props.deviceType = dev_type; in FillInRandomDeviceProps()
2808 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST()
2814 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST()
2820 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST()
2826 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU); in TEST()
2832 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU); in TEST()
2838 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_CPU); in TEST()
2924 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST()
2931 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU); in TEST()
2938 ASSERT_EQ(props.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GP in TEST()
[all...]
H A Dloader_phys_dev_inst_ext_tests.cpp49 props.deviceType = static_cast<VkPhysicalDeviceType>(rand() % 5); in FillInRandomDeviceProps()
116 ASSERT_EQ(props.deviceType, props2.properties.deviceType); in TEST()
154 ASSERT_EQ(props.deviceType, props2.properties.deviceType); in TEST()
183 ASSERT_EQ(props.deviceType, props2.properties.deviceType); in TEST()
218 ASSERT_EQ(props.deviceType, props2.properties.deviceType); in TEST()
263 ASSERT_EQ(props.deviceType, props in TEST()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A Dangle_test_configs.cpp44 return eglParameters.deviceType; in getDeviceType()
49 return eglParameters.deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_SWIFTSHADER_ANGLE; in isSwiftshader()
147 switch (pp.eglParameters.deviceType) in operator <<()

Completed in 18 milliseconds

1234