Home
last modified time | relevance | path

Searched refs:test_device (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dfused_batchnorm_reserve_space_test.cc45 Status GetTestDevice(Session* session, string* test_device) { in GetTestDevice() argument
61 *test_device = found_gpu ? "GPU" : "CPU"; in GetTestDevice()
62 VLOG(2) << "Using test device " << *test_device; in GetTestDevice()
88 string test_device; in TEST() local
89 TF_ASSERT_OK(GetTestDevice(session.get(), &test_device)); in TEST()
111 string tf_device = absl::StrCat("/device:", test_device, ":0"); in TEST()
112 string xla_device = absl::StrCat("/device:XLA_", test_device, ":0"); in TEST()
/external/ltp/testcases/kernel/device-drivers/base/tbase/
Dtbase.c98 struct device test_device; variable
106 if (drv == &test_driver && dev == &test_device) { in test_device_match()
142 struct device test_device = { variable
170 .dev = &test_device,
469 if (bus_add_device(&test_device)) { in test_bus_add()
660 struct device *dev = &test_device; in test_dev_file()
866 device_register(&test_device); in tbase_init_module()
896 device_unregister(&test_device); in tbase_exit_module()
/external/tensorflow/tensorflow/compiler/tests/
Dbuild_defs.bzl50 use_xla_device: If true then the --test_device argument is set to XLA_CPU
82 "--test_device=" + cpu_xla_device,
87 "--test_device=" + gpu_xla_device,
93 "--test_device=" + plugins[backend]["device"],
Dxla_test.py86 if 'XLA' in FLAGS.test_device:
97 self.device = FLAGS.test_device
Drandomized_tests.cc860 string test_device = LocalDeviceToFullDeviceName(*tf_xla_test_device_ptr); in ExpectTfAndXlaOutputsAreClose() local
884 test_device, tf_xla_test_use_jit, &graph, in ExpectTfAndXlaOutputsAreClose()
/external/llvm-project/clang/test/SemaCUDA/
Daddr-of-overloaded-fn.cu22 __device__ void test_device() { in test_device() function
/external/clang/test/SemaCUDA/
Daddr-of-overloaded-fn.cu22 __device__ void test_device() { in test_device() function
/external/vulkan-validation-layers/tests/
Dvklayertests_pipeline_shader.cpp5343 VkDeviceObj test_device(0, gpu(), device_extension_names, &features, &image_footprint_features); in TEST_F() local
5359 VkShaderObj vs(&test_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
5360 VkShaderObj fs(&test_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
5362 VkRenderpassObj render_pass(&test_device); in TEST_F()
5364 VkPipelineObj pipe(&test_device); in TEST_F()
5370 const VkDescriptorSetLayoutObj ds_layout(&test_device, {binding}); in TEST_F()
5373 const VkPipelineLayoutObj pipeline_layout(&test_device, {&ds_layout}); in TEST_F()
5397 …VkDeviceObj test_device(0, gpu(), device_extension_names, &features, &fragment_shader_barycentric_… in TEST_F() local
5407 VkShaderObj vs(&test_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
5408 VkShaderObj fs(&test_device, fsSource, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
[all …]
Dvklayertests_others.cpp1555 VkDeviceObj test_device(0, gpu(), device_extension_names, &features); in TEST_F() local
1559 pool_create_info.queueFamilyIndex = test_device.graphics_queue_node_index_; in TEST_F()
1562 vkCreateCommandPool(test_device.handle(), &pool_create_info, nullptr, &command_pool); in TEST_F()
1572 VkResult err = vkAllocateCommandBuffers(test_device.handle(), &cmd, &cmd_buffer); in TEST_F()
1578 vkCreateEvent(test_device.handle(), &event_create_info, nullptr, &event); in TEST_F()
1591 vkCreateQueryPool(test_device.handle(), &query_pool_create_info, nullptr, &query_pool); in TEST_F()
1598 vkDestroyQueryPool(test_device.handle(), query_pool, nullptr); in TEST_F()
1599 vkDestroyEvent(test_device.handle(), event, nullptr); in TEST_F()
1600 vkDestroyCommandPool(test_device.handle(), command_pool, nullptr); in TEST_F()
1617 VkDeviceObj test_device(0, gpu(), device_extension_names, &features); in TEST_F() local
[all …]
Dvkpositivelayertests.cpp5807 VkDeviceObj test_device(0, gpu(), device_extension_names, &features); in TEST_F() local
5809 VkRenderpassObj render_pass(&test_device); in TEST_F()
5811 const VkPipelineLayoutObj pipeline_layout(&test_device); in TEST_F()
5819 VkShaderObj vs(&test_device, bindStateVertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); in TEST_F()
5820 VkShaderObj fs(&test_device, bindStateFragShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, this); in TEST_F()
5825 VkPipelineObj pipe(&test_device); in TEST_F()
7610 VkDevice test_device; in TEST_F() local
7611 vkCreateDevice(gpu(), &device_ci, nullptr, &test_device); in TEST_F()
7614 vkDestroyDevice(test_device, nullptr); in TEST_F()
/external/libusb/examples/
Dxusb.c797 static int test_device(uint16_t vid, uint16_t pid) in test_device() function
1121 test_device(VID, PID); in main()
/external/crosvm/acpi_tables/src/
Daml.rs1255 fn test_device() { in test_device() function
/external/llvm-project/llvm/docs/
DCompileCudaWithLLVM.rst377 __device__ void test_device() {