Home
last modified time | relevance | path

Searched refs:CreateDevice (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/
Ddynamic_device_mgr_test.cc33 static Device* CreateDevice(const char* type, const char* name, in CreateDevice() function
67 std::unique_ptr<Device> d0(CreateDevice("CPU", "/device:CPU:0")); in TEST()
68 std::unique_ptr<Device> d1(CreateDevice("CPU", "/device:CPU:1")); in TEST()
81 std::unique_ptr<Device> d0(CreateDevice("CPU", "/device:CPU:0")); in TEST()
82 std::unique_ptr<Device> d1(CreateDevice("CPU", "/device:CPU:1")); in TEST()
106 std::unique_ptr<Device> d0(CreateDevice("CPU", "/device:CPU:0", &n)); in TEST()
119 std::unique_ptr<Device> d(CreateDevice("CPU", "/device:CPU:0")); in TEST()
131 std::unique_ptr<Device> d0(CreateDevice("CPU", "/device:CPU:0")); in TEST()
132 std::unique_ptr<Device> d1(CreateDevice("CPU", "/device:CPU:1")); in TEST()
148 std::unique_ptr<Device> d0(CreateDevice("CPU", "/device:CPU:0")); in TEST()
[all …]
Ddevice_mgr_test.cc30 static Device* CreateDevice(const char* type, const char* name) { in CreateDevice() function
44 std::unique_ptr<Device> d0(CreateDevice("GPU", "/device:GPU:0")); in TEST()
45 std::unique_ptr<Device> d1(CreateDevice("GPU", "/device:GPU:1")); in TEST()
54 std::unique_ptr<Device> d0(CreateDevice("GPU", "/device:GPU:0")); in TEST()
55 std::unique_ptr<Device> d1(CreateDevice("GPU", "/device:GPU:1")); in TEST()
56 std::unique_ptr<Device> d2(CreateDevice("CPU", "/device:CPU:0")); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dtensor_handle_test.cc69 static Device* CreateDevice(const char* type, const char* name, in CreateDevice() function
100 devices.emplace_back(CreateDevice("GPU", name)); in PackedTensorHandleTest()
102 devices.emplace_back(CreateDevice("CPU", host_name_)); in PackedTensorHandleTest()
253 CreateDevice("CPU", "/job:localhost/replica:0/task:0/device:CPU:0")); in TEST()
274 CreateDevice("CPU", "/job:localhost/replica:0/task:0/device:CPU:0")); in TEST()
285 CreateDevice("CPU", "/job:localhost/replica:0/task:0/device:CPU:0")); in TEST()
293 CreateDevice("CPU", "/job:worker/task:0/device:CPU:0", false)); in TEST()
296 CreateDevice("CPU", "/job:worker/task:1/device:CPU:0", false)); in TEST()
337 devices.emplace_back(CreateDevice("CPU", name)); in RemoteTensorHandleTest()
373 CreateDevice("CPU", "/job:worker/replica:0/task:0/device:CPU:0")); in TEST_F()
[all …]
Dcontext_test.cc30 static Device* CreateDevice(const string& type, int n) { in CreateDevice() function
73 added_devices.emplace_back(CreateDevice(DEVICE_CPU, 0)); in InitDeviceManager()
74 added_devices.emplace_back(CreateDevice(DEVICE_CPU, 1)); in InitDeviceManager()
75 added_devices.emplace_back(CreateDevice(DEVICE_GPU, 0)); in InitDeviceManager()
76 added_devices.emplace_back(CreateDevice(DEVICE_GPU, 1)); in InitDeviceManager()
Dplacement_test.cc56 static Device* CreateDevice(const char* type, const char* name) { in CreateDevice() function
102 added_devices.emplace_back(CreateDevice(DEVICE_CPU, kFullCPU)); in InitDeviceManager()
103 added_devices.emplace_back(CreateDevice("FakeGPU", kFullGPU)); in InitDeviceManager()
/external/libbrillo/brillo/udev/
Dudev.cc39 std::unique_ptr<UdevDevice> Udev::CreateDevice(udev_device* device) { in CreateDevice() function in brillo::Udev
54 return CreateDevice(device); in CreateDeviceFromSysPath()
67 return CreateDevice(device); in CreateDeviceFromDeviceNumber()
81 return CreateDevice(device); in CreateDeviceFromSubsystemSysName()
Dudev.h60 static std::unique_ptr<UdevDevice> CreateDevice(udev_device* device);
/external/webrtc/modules/audio_device/win/
Dcore_audio_utility_win_unittest.cc209 audio_device = core_audio_utility::CreateDevice( in TEST_F()
217 audio_device = core_audio_utility::CreateDevice( in TEST_F()
222 TEST_F(CoreAudioUtilityWinTest, CreateDevice) { in TEST_F() argument
226 ComPtr<IMMDevice> default_render_device = core_audio_utility::CreateDevice( in TEST_F()
235 ComPtr<IMMDevice> audio_device = core_audio_utility::CreateDevice( in TEST_F()
261 audio_device = core_audio_utility::CreateDevice( in TEST_F()
272 ComPtr<IMMDevice> audio_device = core_audio_utility::CreateDevice( in TEST_F()
285 audio_device = core_audio_utility::CreateDevice( in TEST_F()
327 ComPtr<IMMDevice> device(core_audio_utility::CreateDevice( in TEST_F()
346 ComPtr<IMMDevice> device(core_audio_utility::CreateDevice( in TEST_F()
[all …]
Dcore_audio_utility_win.cc723 CreateDevice(AudioDeviceName::kDefaultDeviceId, eCapture, eConsole)); in GetDefaultInputDeviceID()
730 CreateDevice(AudioDeviceName::kDefaultDeviceId, eRender, eConsole)); in GetDefaultOutputDeviceID()
736 ComPtr<IMMDevice> device(CreateDevice(AudioDeviceName::kDefaultDeviceId, in GetCommunicationsInputDeviceID()
743 ComPtr<IMMDevice> device(CreateDevice(AudioDeviceName::kDefaultDeviceId, in GetCommunicationsOutputDeviceID()
748 ComPtr<IMMDevice> CreateDevice(const std::string& device_id, in CreateDevice() function
769 ComPtr<IMMDevice> audio_device = CreateDevice(device_id, data_flow, role); in GetFriendlyName()
878 ComPtr<IMMDevice> device(CreateDevice(device_id, data_flow, role)); in CreateClient()
886 ComPtr<IMMDevice> device(CreateDevice(device_id, data_flow, role)); in CreateClient2()
894 ComPtr<IMMDevice> device(CreateDevice(device_id, data_flow, role)); in CreateClient3()
Dcore_audio_utility_win.h397 Microsoft::WRL::ComPtr<IMMDevice> CreateDevice(const std::string& device_id,
/external/mesa3d/include/d3dadapter/
Dd3dadapter9.h47 …HRESULT (WINAPI *CreateDevice)(ID3DAdapter9 *This, UINT RealAdapter, D3DDEVTYPE DeviceType, HWND h…
68 #define ID3DAdapter9_CreateDevice(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateDevice(p,a,b,c,d,e,f,g,h)
82 …HRESULT WINAPI CreateDevice(UINT RealAdapter, D3DDEVTYPE DeviceType, HWND hFocusWindow, DWORD Beha…
/external/angle/src/libANGLE/
DDevice.h44 static egl::Error CreateDevice(EGLint deviceType, void *nativeDevice, Device **outDevice);
DDevice.cpp48 egl::Error Device::CreateDevice(EGLint deviceType, void *nativeDevice, Device **outDevice) in CreateDevice() function in egl::Device
/external/deqp-deps/amber/samples/
Dconfig_helper_dawn.cc74 dawn_device_ = ::dawn::Device::Acquire(adapter.CreateDevice()); in CreateConfig()
/external/skia/tools/sk_app/
DDawnWindowContext.cpp117 return adapter.CreateDevice(); in createDevice()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Drpc_rendezvous_mgr_test.cc98 static Device* CreateDevice(const char* type, const char* name) { in CreateDevice() function
113 CreateDevice("CPU", "/job:mnist/replica:1/task:2/cpu:1")); in CreateDeviceMgr()
/external/skia/tools/gpu/dawn/
DDawnTestContext.cpp94 return wgpu::Device::Acquire(adapter.CreateDevice()); in createDevice()
/external/webrtc/test/win/
Dd3d_renderer.cc96 if (d3d_->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hwnd_, in Init()
/external/skqp/tests/
DVkPriorityExtensionTest.cpp126 ACQUIRE_VK_PROC(CreateDevice, inst, VK_NULL_HANDLE); in DEF_GPUTEST()
/external/skia/tests/
DVkPriorityExtensionTest.cpp126 ACQUIRE_VK_PROC(CreateDevice, inst, VK_NULL_HANDLE); in DEF_GPUTEST()
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/
Dwrappers.cpp163 if (FAILED(_d3d9->CreateDevice(_adapterIdx - 1, D3DDEVTYPE_HAL, in Init()
/external/mesa3d/docs/relnotes/
D19.3.5.rst110 - anv: Parse VkPhysicalDeviceFeatures2 in CreateDevice
D20.0.2.rst98 - anv: Parse VkPhysicalDeviceFeatures2 in CreateDevice
D20.3.4.rst179 - lavapipe: Defer lavapipe warning to CreateDevice
/external/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp57 ITEM(CreateDevice)\
267 result = CreateDevice(device, &device_create_info, NULL, &device_cache[family]); in get_vk_device()

12