Searched refs:eu_masks (Results 1 – 3 of 3) sorted by relevance
165 uint8_t eu_masks[GEN_DEVICE_MAX_SLICES * member293 return (devinfo->eu_masks[subslice_offset + eu / 8] & (1U << eu % 8)) != 0; in gen_device_info_eu_available()
992 devinfo->eu_masks[subslice_offset + b_eu] = in gen_device_info_set_eu_mask()1046 memset(devinfo->eu_masks, 0, sizeof(devinfo->eu_masks)); in reset_masks()1114 assert(sizeof(devinfo->eu_masks) >= eu_mask_len); in update_from_topology()1115 memcpy(devinfo->eu_masks, &topology->data[topology->eu_offset], eu_mask_len); in update_from_topology()1119 n_eus += __builtin_popcount(devinfo->eu_masks[b]); in update_from_topology()
381 for (int i = 0; i < sizeof(devinfo->eu_masks); i++) in compute_topology_builtins()382 perf->sys_vars.n_eus += __builtin_popcount(devinfo->eu_masks[i]); in compute_topology_builtins()