Home
last modified time | relevance | path

Searched refs:phys_dev (Results 1 – 7 of 7) sorted by relevance

/external/vulkan-validation-layers/tests/
Dtest_environment.cpp126 vk_testing::PhysicalDevice phys_dev(gpus[0]); in SetUp() local
127 device_extensions = phys_dev.extensions(); in SetUp()
/external/mesa3d/src/amd/vulkan/
Dradv_android.c220 struct radv_physical_device *phys_dev = device->physical_device; in radv_GetSwapchainGrallocUsageANDROID() local
221 VkPhysicalDevice phys_dev_h = radv_physical_device_to_handle(phys_dev); in radv_GetSwapchainGrallocUsageANDROID()
309 struct radv_physical_device *phys_dev = device->physical_device; in radv_GetSwapchainGrallocUsage2ANDROID() local
310 VkPhysicalDevice phys_dev_h = radv_physical_device_to_handle(phys_dev); in radv_GetSwapchainGrallocUsage2ANDROID()
/external/mesa3d/src/freedreno/vulkan/
Dtu_pass.c343 const struct tu_physical_device *phys_dev) in tu_render_pass_gmem_config() argument
346 uint32_t tile_align_w = phys_dev->info.tile_align_w; in tu_render_pass_gmem_config()
347 uint32_t gmem_align = (1 << block_align_shift) * tile_align_w * phys_dev->info.tile_align_h; in tu_render_pass_gmem_config()
389 uint32_t gmem_blocks = phys_dev->info.a6xx.ccu_offset_gmem / gmem_align; in tu_render_pass_gmem_config()
Dtu_android.c242 struct tu_physical_device *phys_dev = device->physical_device; in format_supported_with_usage() local
243 VkPhysicalDevice phys_dev_h = tu_physical_device_to_handle(phys_dev); in format_supported_with_usage()
Dtu_cmd_buffer.c159 struct tu_physical_device *phys_dev = cmd_buffer->device->physical_device; in tu_emit_cache_flush_ccu() local
163 phys_dev->info.a6xx.ccu_offset_gmem : in tu_emit_cache_flush_ccu()
164 phys_dev->info.a6xx.ccu_offset_bypass, in tu_emit_cache_flush_ccu()
372 struct tu_physical_device *phys_dev = cmd->device->physical_device; in tu6_emit_blit_scissor() local
391 x1 = x1 & ~(phys_dev->info.gmem_align_w - 1); in tu6_emit_blit_scissor()
392 y1 = y1 & ~(phys_dev->info.gmem_align_h - 1); in tu6_emit_blit_scissor()
393 x2 = ALIGN_POT(x2 + 1, phys_dev->info.gmem_align_w) - 1; in tu6_emit_blit_scissor()
394 y2 = ALIGN_POT(y2 + 1, phys_dev->info.gmem_align_h) - 1; in tu6_emit_blit_scissor()
708 const struct tu_physical_device *phys_dev = dev->physical_device; in tu6_init_hw() local
732 A6XX_RB_CCU_CNTL(.offset = phys_dev->info.a6xx.ccu_offset_bypass)); in tu6_init_hw()
[all …]
Dtu_clear_blit.c2417 struct tu_physical_device *phys_dev = cmd->device->physical_device; in tu_store_gmem_attachment() local
2439 x1 % phys_dev->info.gmem_align_w || in tu_store_gmem_attachment()
2440 (x2 % phys_dev->info.gmem_align_w && x2 != iview->extent.width) || in tu_store_gmem_attachment()
2441 y1 % phys_dev->info.gmem_align_h || (y2 % phys_dev->info.gmem_align_h && need_y2_align); in tu_store_gmem_attachment()
/external/tensorflow/tensorflow/python/framework/
Dconfig_test.py518 phys_dev = context.PhysicalDevice('/physical_device:CPU:100', 'CPU')
522 config.get_device_details(phys_dev)