Lines Matching full:cu

55 		/* TCP L1 Cache per CU */
91 /* TCP L1 Cache per CU */
141 /* TCP L1 Cache per CU */
184 /* TCP L1 Cache per CU */
227 /* TCP L1 Cache per CU */
270 /* TCP L1 Cache per CU */
313 /* TCP L1 Cache per CU */
356 /* TCP L1 Cache per CU */
399 /* TCP L1 Cache per CU */
452 /* TCP L1 Cache per CU */
505 /* TCP L1 Cache per CU */
558 /* TCP L1 Cache per CU */
621 /* TCP L1 Cache per CU */
684 /* TCP L1 Cache per CU */
747 /* TCP L1 Cache per CU */
810 /* TCP L1 Cache per CU */
863 /* TCP L1 Cache per CU */
916 /* TCP L1 Cache per CU */
969 /* TCP L1 Cache per CU */
1021 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_cpu() argument
1023 dev->node_props.cpu_cores_count = cu->num_cpu_cores; in kfd_populated_cu_info_cpu()
1024 dev->node_props.cpu_core_id_base = cu->processor_id_low; in kfd_populated_cu_info_cpu()
1025 if (cu->hsa_capability & CRAT_CU_FLAGS_IOMMU_PRESENT) in kfd_populated_cu_info_cpu()
1028 pr_debug("CU CPU: cores=%d id_base=%d\n", cu->num_cpu_cores, in kfd_populated_cu_info_cpu()
1029 cu->processor_id_low); in kfd_populated_cu_info_cpu()
1033 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_gpu() argument
1035 dev->node_props.simd_id_base = cu->processor_id_low; in kfd_populated_cu_info_gpu()
1036 dev->node_props.simd_count = cu->num_simd_cores; in kfd_populated_cu_info_gpu()
1037 dev->node_props.lds_size_in_kb = cu->lds_size_in_kb; in kfd_populated_cu_info_gpu()
1038 dev->node_props.max_waves_per_simd = cu->max_waves_simd; in kfd_populated_cu_info_gpu()
1039 dev->node_props.wave_front_size = cu->wave_front_size; in kfd_populated_cu_info_gpu()
1040 dev->node_props.array_count = cu->array_count; in kfd_populated_cu_info_gpu()
1041 dev->node_props.cu_per_simd_array = cu->num_cu_per_array; in kfd_populated_cu_info_gpu()
1042 dev->node_props.simd_per_cu = cu->num_simd_per_cu; in kfd_populated_cu_info_gpu()
1043 dev->node_props.max_slots_scratch_cu = cu->max_slots_scatch_cu; in kfd_populated_cu_info_gpu()
1044 if (cu->hsa_capability & CRAT_CU_FLAGS_HOT_PLUGGABLE) in kfd_populated_cu_info_gpu()
1046 pr_debug("CU GPU: id_base=%d\n", cu->processor_id_low); in kfd_populated_cu_info_gpu()
1052 static int kfd_parse_subtype_cu(struct crat_subtype_computeunit *cu, in kfd_parse_subtype_cu() argument
1057 pr_debug("Found CU entry in CRAT table with proximity_domain=%d caps=%x\n", in kfd_parse_subtype_cu()
1058 cu->proximity_domain, cu->hsa_capability); in kfd_parse_subtype_cu()
1060 if (cu->proximity_domain == dev->proximity_domain) { in kfd_parse_subtype_cu()
1061 if (cu->flags & CRAT_CU_FLAGS_CPU_PRESENT) in kfd_parse_subtype_cu()
1062 kfd_populated_cu_info_cpu(dev, cu); in kfd_parse_subtype_cu()
1064 if (cu->flags & CRAT_CU_FLAGS_GPU_PRESENT) in kfd_parse_subtype_cu()
1065 kfd_populated_cu_info_gpu(dev, cu); in kfd_parse_subtype_cu()
1309 struct crat_subtype_computeunit *cu; in kfd_parse_subtype() local
1317 cu = (struct crat_subtype_computeunit *)sub_type_hdr; in kfd_parse_subtype()
1318 ret = kfd_parse_subtype_cu(cu, device_list); in kfd_parse_subtype()
1430 /* TCP L1 Cache per CU */ in kfd_fill_gpu_cache_info_from_gfx_config()
1508 /* TCP L1 Cache per CU */ in kfd_fill_gpu_cache_info_from_gfx_config_v2()
1738 /* Fill in CU data */ in kfd_fill_cu_for_cpu()
2210 struct crat_subtype_computeunit *cu; in kfd_create_vcrat_image_gpu() local
2243 /* Fill CU subtype data */ in kfd_create_vcrat_image_gpu()
2244 cu = (struct crat_subtype_computeunit *)sub_type_hdr; in kfd_create_vcrat_image_gpu()
2245 cu->flags |= CRAT_CU_FLAGS_GPU_PRESENT; in kfd_create_vcrat_image_gpu()
2246 cu->proximity_domain = proximity_domain; in kfd_create_vcrat_image_gpu()
2248 cu->num_simd_per_cu = cu_info->simd_per_cu; in kfd_create_vcrat_image_gpu()
2249 cu->num_simd_cores = cu_info->simd_per_cu * in kfd_create_vcrat_image_gpu()
2251 cu->max_waves_simd = cu_info->max_waves_per_simd; in kfd_create_vcrat_image_gpu()
2253 cu->wave_front_size = cu_info->wave_front_size; in kfd_create_vcrat_image_gpu()
2254 cu->array_count = gfx_info->max_sh_per_se * in kfd_create_vcrat_image_gpu()
2256 total_num_of_cu = (cu->array_count * gfx_info->max_cu_per_sh); in kfd_create_vcrat_image_gpu()
2257 cu->processor_id_low = get_and_inc_gpu_processor_id(total_num_of_cu); in kfd_create_vcrat_image_gpu()
2258 cu->num_cu_per_array = gfx_info->max_cu_per_sh; in kfd_create_vcrat_image_gpu()
2259 cu->max_slots_scatch_cu = cu_info->max_scratch_slots_per_cu; in kfd_create_vcrat_image_gpu()
2260 cu->num_banks = gfx_info->max_shader_engines; in kfd_create_vcrat_image_gpu()
2261 cu->lds_size_in_kb = cu_info->lds_size; in kfd_create_vcrat_image_gpu()
2263 cu->hsa_capability = 0; in kfd_create_vcrat_image_gpu()