reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1224 AMDGPU::initDefaultAMDKernelCodeT(Out, &STM); 1226 Out.compute_pgm_resource_registers = 1229 Out.code_properties |= AMD_CODE_PROPERTY_IS_PTR64; 1232 Out.code_properties |= AMD_CODE_PROPERTY_IS_DYNAMIC_CALLSTACK; 1234 AMD_HSA_BITS_SET(Out.code_properties, 1239 Out.code_properties |= 1244 Out.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR; 1247 Out.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_QUEUE_PTR; 1250 Out.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_KERNARG_SEGMENT_PTR; 1253 Out.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_ID; 1256 Out.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_FLAT_SCRATCH_INIT; 1259 Out.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR; 1262 Out.code_properties |= AMD_CODE_PROPERTY_IS_XNACK_SUPPORTED; 1265 Out.kernarg_segment_byte_size = STM.getKernArgSegmentSize(F, MaxKernArgAlign); 1266 Out.wavefront_sgpr_count = CurrentProgramInfo.NumSGPR; 1267 Out.workitem_vgpr_count = CurrentProgramInfo.NumVGPR; 1268 Out.workitem_private_segment_byte_size = CurrentProgramInfo.ScratchSize; 1269 Out.workgroup_group_segment_byte_size = CurrentProgramInfo.LDSSize; 1273 Out.kernarg_segment_alignment = Log2(std::max(Align(16), MaxKernArgAlign));