@@ -5163,23 +5163,24 @@ void AMDGPUKernelTy::printAMDOneLineKernelTrace(GenericDeviceTy &GenericDevice,
51635163 auto GroupSegmentSize = (*KernelInfo).GroupSegmentList ;
51645164 auto SGPRCount = (*KernelInfo).SGPRCount ;
51655165 auto VGPRCount = (*KernelInfo).VGPRCount ;
5166+ auto AGPRCount = (*KernelInfo).AGPRCount ;
51665167 auto SGPRSpillCount = (*KernelInfo).SGPRSpillCount ;
51675168 auto VGPRSpillCount = (*KernelInfo).VGPRSpillCount ;
51685169 // auto MaxFlatWorkgroupSize = (*KernelInfo).MaxFlatWorkgroupSize;
51695170
51705171 // This line should print exactly as the one in the old plugin.
5171- fprintf (stderr,
5172- " DEVID: %2d SGN:%d ConstWGSize:%-4d args:%2d teamsXthrds:(%4luX%4d) "
5173- " reqd:(%4dX%4d) lds_usage:%uB sgpr_count:%u vgpr_count:%u "
5174- " sgpr_spill_count:%u vgpr_spill_count:%u tripcount:%lu rpc:%d "
5175- " md:%d md_LB:%ld md_UB:%ld Max Occupancy: %u Achieved Occupancy: "
5176- " %d%% n:%s \n " ,
5177- GenericDevice. getDeviceId (), getExecutionModeFlags (), ConstWGSize ,
5178- KernelArgs. NumArgs , NumBlocks[ 0 ], NumThreads[ 0 ], 0 , 0 ,
5179- GroupSegmentSize, SGPRCount, VGPRCount, SGPRSpillCount ,
5180- VGPRSpillCount, KernelArgs. Tripcount , NeedsHostServices ,
5181- isMultiDeviceKernel (), MultiDeviceLB, MultiDeviceUB, MaxOccupancy ,
5182- AchievedOccupancy, getName ());
5172+ fprintf (
5173+ stderr,
5174+ " DEVID: %2d SGN:%d ConstWGSize:%-4d args:%2d teamsXthrds:(%4luX%4d) "
5175+ " reqd:(%4dX%4d) lds_usage:%uB sgpr_count:%u vgpr_count:%u agpr_count:%u "
5176+ " sgpr_spill_count:%u vgpr_spill_count:%u tripcount:%lu rpc:%d "
5177+ " md:%d md_LB:%ld md_UB:%ld Max Occupancy: %u Achieved Occupancy: "
5178+ " %d%% n:%s \n " ,
5179+ GenericDevice. getDeviceId (), getExecutionModeFlags (), ConstWGSize ,
5180+ KernelArgs. NumArgs , NumBlocks[ 0 ], NumThreads[ 0 ], 0 , 0 , GroupSegmentSize ,
5181+ SGPRCount, VGPRCount, AGPRCount, SGPRSpillCount, VGPRSpillCount ,
5182+ KernelArgs. Tripcount , NeedsHostServices, isMultiDeviceKernel (),
5183+ MultiDeviceLB, MultiDeviceUB, MaxOccupancy, AchievedOccupancy, getName ());
51835184}
51845185
51855186Error AMDGPUKernelTy::printLaunchInfoDetails (GenericDeviceTy &GenericDevice,
0 commit comments