Lines Matching refs:cu_info
474 void amdgpu_amdkfd_get_cu_info(struct amdgpu_device *adev, struct kfd_cu_info *cu_info) in amdgpu_amdkfd_get_cu_info() argument
476 struct amdgpu_cu_info acu_info = adev->gfx.cu_info; in amdgpu_amdkfd_get_cu_info()
478 memset(cu_info, 0, sizeof(*cu_info)); in amdgpu_amdkfd_get_cu_info()
479 if (sizeof(cu_info->cu_bitmap) != sizeof(acu_info.bitmap)) in amdgpu_amdkfd_get_cu_info()
482 cu_info->cu_active_number = acu_info.number; in amdgpu_amdkfd_get_cu_info()
483 cu_info->cu_ao_mask = acu_info.ao_cu_mask; in amdgpu_amdkfd_get_cu_info()
484 memcpy(&cu_info->cu_bitmap[0], &acu_info.bitmap[0], in amdgpu_amdkfd_get_cu_info()
486 cu_info->num_shader_engines = adev->gfx.config.max_shader_engines; in amdgpu_amdkfd_get_cu_info()
487 cu_info->num_shader_arrays_per_engine = adev->gfx.config.max_sh_per_se; in amdgpu_amdkfd_get_cu_info()
488 cu_info->num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_amdkfd_get_cu_info()
489 cu_info->simd_per_cu = acu_info.simd_per_cu; in amdgpu_amdkfd_get_cu_info()
490 cu_info->max_waves_per_simd = acu_info.max_waves_per_simd; in amdgpu_amdkfd_get_cu_info()
491 cu_info->wave_front_size = acu_info.wave_front_size; in amdgpu_amdkfd_get_cu_info()
492 cu_info->max_scratch_slots_per_cu = acu_info.max_scratch_slots_per_cu; in amdgpu_amdkfd_get_cu_info()
493 cu_info->lds_size = acu_info.lds_size; in amdgpu_amdkfd_get_cu_info()