Lines Matching defs:statistics
860 VkShaderStatisticsInfoAMD statistics = {};
861 statistics.shaderStageMask = shaderStage;
862 statistics.numPhysicalVgprs = RADV_NUM_PHYSICAL_VGPRS;
863 statistics.numPhysicalSgprs = ac_get_num_physical_sgprs(device->physical_device->rad_info.chip_class);
864 statistics.numAvailableSgprs = statistics.numPhysicalSgprs;
870 statistics.numAvailableVgprs = statistics.numPhysicalVgprs /
871 ceil((double)workgroup_size / statistics.numPhysicalVgprs);
873 statistics.computeWorkGroupSize[0] = local_size[0];
874 statistics.computeWorkGroupSize[1] = local_size[1];
875 statistics.computeWorkGroupSize[2] = local_size[2];
877 statistics.numAvailableVgprs = statistics.numPhysicalVgprs;
880 statistics.resourceUsage.numUsedVgprs = conf->num_vgprs;
881 statistics.resourceUsage.numUsedSgprs = conf->num_sgprs;
882 statistics.resourceUsage.ldsSizePerLocalWorkGroup = 32768;
883 statistics.resourceUsage.ldsUsageSizeInBytes = conf->lds_size * lds_multiplier;
884 statistics.resourceUsage.scratchMemUsageInBytes = conf->scratch_bytes_per_wave;
887 *pInfoSize = sizeof(statistics);
889 memcpy(pInfo, &statistics, MIN2(size, *pInfoSize));