Changeset 3160 in CLRX


Ignore:
Timestamp:
Jun 15, 2017, 9:50:41 AM (2 years ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmGallium?: Set localSize and scratchBufferSize to correct AmdHsaConfigHeader? fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/AsmGalliumFormat.cpp

    r3159 r3160  
    13781378                        AMDHSAFLAG_USE_DISPATCH_PTR|AMDHSAFLAG_USE_KERNARG_SEGMENT_PTR));
    13791379            SULEV(outConfig.enableFeatureFlags, uint16_t(AMDHSAFLAG_USE_PTR64|2));
    1380             SULEV(outConfig.workitemPrivateSegmentSize, config.spilledVGPRs<<2);
    1381             SULEV(outConfig.workgroupGroupSegmentSize, config.spilledSGPRs<<2);
     1380            SULEV(outConfig.workitemPrivateSegmentSize, config.scratchBufferSize);
     1381            SULEV(outConfig.workgroupGroupSegmentSize, config.localSize);
    13821382            SULEV(outConfig.gdsSegmentSize, 0);
    13831383            SULEV(outConfig.kernargSegmentSize, argSegmentSize);
Note: See TracChangeset for help on using the changeset viewer.