Home
last modified time | relevance | path

Searched refs:node_props (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c446 return sysfs_show_str_val(buffer, offs, dev->node_props.name); in node_show()
454 dev->node_props.cpu_cores_count); in node_show()
456 dev->gpu ? dev->node_props.simd_count : 0); in node_show()
458 dev->node_props.mem_banks_count); in node_show()
460 dev->node_props.caches_count); in node_show()
462 dev->node_props.io_links_count); in node_show()
464 dev->node_props.p2p_links_count); in node_show()
466 dev->node_props.cpu_core_id_base); in node_show()
468 dev->node_props.simd_id_base); in node_show()
470 dev->node_props.max_waves_per_simd); in node_show()
[all …]
H A Dkfd_queue.c268 if (properties->eop_ring_buffer_size != topo_dev->node_props.eop_buffer_size) { in kfd_queue_acquire_buffers()
271 topo_dev->node_props.eop_buffer_size); in kfd_queue_acquire_buffers()
282 if (properties->ctl_stack_size != topo_dev->node_props.ctl_stack_size) { in kfd_queue_acquire_buffers()
285 topo_dev->node_props.ctl_stack_size); in kfd_queue_acquire_buffers()
290 if (properties->ctx_save_restore_area_size != topo_dev->node_props.cwsr_size) { in kfd_queue_acquire_buffers()
293 topo_dev->node_props.cwsr_size); in kfd_queue_acquire_buffers()
298 total_cwsr_size = (topo_dev->node_props.cwsr_size + topo_dev->node_props.debug_memory_size) in kfd_queue_acquire_buffers()
345 total_cwsr_size = (topo_dev->node_props.cwsr_size + topo_dev->node_props.debug_memory_size) in kfd_queue_release_buffers()
419 struct kfd_node_properties *props = &dev->node_props; in kfd_queue_ctx_save_restore_size()
H A Dkfd_crat.c1024 dev->node_props.cpu_cores_count = cu->num_cpu_cores; in kfd_populated_cu_info_cpu()
1025 dev->node_props.cpu_core_id_base = cu->processor_id_low; in kfd_populated_cu_info_cpu()
1027 dev->node_props.capability |= HSA_CAP_ATS_PRESENT; in kfd_populated_cu_info_cpu()
1036 dev->node_props.simd_id_base = cu->processor_id_low; in kfd_populated_cu_info_gpu()
1037 dev->node_props.simd_count = cu->num_simd_cores; in kfd_populated_cu_info_gpu()
1038 dev->node_props.lds_size_in_kb = cu->lds_size_in_kb; in kfd_populated_cu_info_gpu()
1039 dev->node_props.max_waves_per_simd = cu->max_waves_simd; in kfd_populated_cu_info_gpu()
1040 dev->node_props.wave_front_size = cu->wave_front_size; in kfd_populated_cu_info_gpu()
1041 dev->node_props.array_count = cu->array_count; in kfd_populated_cu_info_gpu()
1042 dev->node_props.cu_per_simd_array = cu->num_cu_per_array; in kfd_populated_cu_info_gpu()
[all …]
H A Dkfd_debug.c521 uint32_t caps = topo_dev->node_props.capability; in kfd_dbg_trap_set_flags()
1083 device_info.location_id = topo_dev->node_props.location_id; in kfd_dbg_trap_device_snapshot()
1084 device_info.vendor_id = topo_dev->node_props.vendor_id; in kfd_dbg_trap_device_snapshot()
1085 device_info.device_id = topo_dev->node_props.device_id; in kfd_dbg_trap_device_snapshot()
1091 topo_dev->node_props.gfx_target_version; in kfd_dbg_trap_device_snapshot()
1092 device_info.simd_count = topo_dev->node_props.simd_count; in kfd_dbg_trap_device_snapshot()
1094 topo_dev->node_props.max_waves_per_simd; in kfd_dbg_trap_device_snapshot()
1095 device_info.array_count = topo_dev->node_props.array_count; in kfd_dbg_trap_device_snapshot()
1097 topo_dev->node_props.simd_arrays_per_engine; in kfd_dbg_trap_device_snapshot()
1099 device_info.capability = topo_dev->node_props.capability; in kfd_dbg_trap_device_snapshot()
[all …]
H A Dkfd_topology.h146 struct kfd_node_properties node_props; member