Skip to content

get_insn_count may overestimate subgroup count when multiple device programs

When count_granularity=subgroup, get_insn_count uses get_grid_size_upper_bounds to determine group size, which may overestimate group size if there are multiple device programs. Currently there is just a warning about this.