Lines Matching full:cu
56 /* TCP L1 Cache per CU */
92 /* TCP L1 Cache per CU */
142 /* TCP L1 Cache per CU */
185 /* TCP L1 Cache per CU */
228 /* TCP L1 Cache per CU */
271 /* TCP L1 Cache per CU */
314 /* TCP L1 Cache per CU */
357 /* TCP L1 Cache per CU */
400 /* TCP L1 Cache per CU */
453 /* TCP L1 Cache per CU */
506 /* TCP L1 Cache per CU */
559 /* TCP L1 Cache per CU */
622 /* TCP L1 Cache per CU */
685 /* TCP L1 Cache per CU */
748 /* TCP L1 Cache per CU */
811 /* TCP L1 Cache per CU */
864 /* TCP L1 Cache per CU */
917 /* TCP L1 Cache per CU */
970 /* TCP L1 Cache per CU */
1022 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_cpu() argument
1024 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()
1026 if (cu->hsa_capability & CRAT_CU_FLAGS_IOMMU_PRESENT) in kfd_populated_cu_info_cpu()
1029 pr_debug("CU CPU: cores=%d id_base=%d\n", cu->num_cpu_cores, in kfd_populated_cu_info_cpu()
1030 cu->processor_id_low); in kfd_populated_cu_info_cpu()
1034 struct crat_subtype_computeunit *cu) in kfd_populated_cu_info_gpu() argument
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()
1043 dev->node_props.simd_per_cu = cu->num_simd_per_cu; in kfd_populated_cu_info_gpu()
1044 dev->node_props.max_slots_scratch_cu = cu->max_slots_scatch_cu; in kfd_populated_cu_info_gpu()
1045 if (cu->hsa_capability & CRAT_CU_FLAGS_HOT_PLUGGABLE) in kfd_populated_cu_info_gpu()
1047 pr_debug("CU GPU: id_base=%d\n", cu->processor_id_low); in kfd_populated_cu_info_gpu()
1053 static int kfd_parse_subtype_cu(struct crat_subtype_computeunit *cu, in kfd_parse_subtype_cu() argument
1058 pr_debug("Found CU entry in CRAT table with proximity_domain=%d caps=%x\n", in kfd_parse_subtype_cu()
1059 cu->proximity_domain, cu->hsa_capability); in kfd_parse_subtype_cu()
1061 if (cu->proximity_domain == dev->proximity_domain) { in kfd_parse_subtype_cu()
1062 if (cu->flags & CRAT_CU_FLAGS_CPU_PRESENT) in kfd_parse_subtype_cu()
1063 kfd_populated_cu_info_cpu(dev, cu); in kfd_parse_subtype_cu()
1065 if (cu->flags & CRAT_CU_FLAGS_GPU_PRESENT) in kfd_parse_subtype_cu()
1066 kfd_populated_cu_info_gpu(dev, cu); in kfd_parse_subtype_cu()
1310 struct crat_subtype_computeunit *cu; in kfd_parse_subtype() local
1318 cu = (struct crat_subtype_computeunit *)sub_type_hdr; in kfd_parse_subtype()
1319 ret = kfd_parse_subtype_cu(cu, device_list); in kfd_parse_subtype()
1432 /* TCP L1 Cache per CU */ in kfd_fill_gpu_cache_info_from_gfx_config()
1519 /* TCP L1 Cache per CU */ in kfd_fill_gpu_cache_info_from_gfx_config_v2()
1764 /* Fill in CU data */ in kfd_fill_cu_for_cpu()
2236 struct crat_subtype_computeunit *cu; in kfd_create_vcrat_image_gpu() local
2269 /* Fill CU subtype data */ in kfd_create_vcrat_image_gpu()
2270 cu = (struct crat_subtype_computeunit *)sub_type_hdr; in kfd_create_vcrat_image_gpu()
2271 cu->flags |= CRAT_CU_FLAGS_GPU_PRESENT; in kfd_create_vcrat_image_gpu()
2272 cu->proximity_domain = proximity_domain; in kfd_create_vcrat_image_gpu()
2274 cu->num_simd_per_cu = cu_info->simd_per_cu; in kfd_create_vcrat_image_gpu()
2275 cu->num_simd_cores = cu_info->simd_per_cu * in kfd_create_vcrat_image_gpu()
2277 cu->max_waves_simd = cu_info->max_waves_per_simd; in kfd_create_vcrat_image_gpu()
2279 cu->wave_front_size = cu_info->wave_front_size; in kfd_create_vcrat_image_gpu()
2280 cu->array_count = gfx_info->max_sh_per_se * in kfd_create_vcrat_image_gpu()
2282 total_num_of_cu = (cu->array_count * gfx_info->max_cu_per_sh); in kfd_create_vcrat_image_gpu()
2283 cu->processor_id_low = get_and_inc_gpu_processor_id(total_num_of_cu); in kfd_create_vcrat_image_gpu()
2284 cu->num_cu_per_array = gfx_info->max_cu_per_sh; in kfd_create_vcrat_image_gpu()
2285 cu->max_slots_scatch_cu = cu_info->max_scratch_slots_per_cu; in kfd_create_vcrat_image_gpu()
2286 cu->num_banks = gfx_info->max_shader_engines; in kfd_create_vcrat_image_gpu()
2287 cu->lds_size_in_kb = cu_info->lds_size; in kfd_create_vcrat_image_gpu()
2289 cu->hsa_capability = 0; in kfd_create_vcrat_image_gpu()