Searched refs:target_lds_size (Results 1 – 3 of 3) sorted by relevance
2013 const unsigned target_lds_size = max_lds_size; in gfx10_ngg_calculate_subgroup_info() local2044 if (gsprim_lds_size > target_lds_size && !force_multi_cycling) { in gfx10_ngg_calculate_subgroup_info()2060 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info()2062 max_gsprims = MIN2(max_gsprims, target_lds_size / gsprim_lds_size); in gfx10_ngg_calculate_subgroup_info()2077 if (lds_total > target_lds_size) { in gfx10_ngg_calculate_subgroup_info()2078 max_esverts = max_esverts * target_lds_size / lds_total; in gfx10_ngg_calculate_subgroup_info()2079 max_gsprims = max_gsprims * target_lds_size / lds_total; in gfx10_ngg_calculate_subgroup_info()
625 unsigned target_lds_size = 16 * 1024; /* target at least 2 workgroups per CU, 16K each */ in si_emit_derived_tess_state() local626 *num_patches = MIN2(*num_patches, target_lds_size / lds_per_patch); in si_emit_derived_tess_state()
2021 const unsigned target_lds_size = max_lds_size; in gfx10_get_ngg_info() local2082 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_get_ngg_info()2084 max_gsprims = MIN2(max_gsprims, target_lds_size / gsprim_lds_size); in gfx10_get_ngg_info()2099 if (lds_total > target_lds_size) { in gfx10_get_ngg_info()2100 max_esverts = max_esverts * target_lds_size / lds_total; in gfx10_get_ngg_info()2101 max_gsprims = max_gsprims * target_lds_size / lds_total; in gfx10_get_ngg_info()