Changeset 3757 in CLRX


Ignore:
Timestamp:
Feb 8, 2018, 1:39:19 PM (15 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: align kernarg size to 16 bytes.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

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

    r3754 r3757  
    22172217        size += argInfo.size;
    22182218    }
    2219     return size;
     2219    return (size + 15) & ~uint64_t(15);
    22202220}
    22212221
  • CLRadeonExtender/trunk/tests/amdasm/AsmROCmFormat.cpp

    r3754 r3757  
    860860      workgroupGroupSegmentSize=0
    861861      gdsSegmentSize=100
    862       kernargSegmentSize=520
     862      kernargSegmentSize=528
    863863      workgroupFbarrierCount=0
    864864      wavefrontSgprCount=10
     
    886886  0100000000000000010008000000030000010000000000000000000000000000
    887887  0000000000000000000000000000000040000c00800000000000000000000000
    888   00000000640000000802000000000000000000000a0001000000000000000000
     888  00000000640000001002000000000000000000000a0001000000000000000000
    889889  6000620005040406ac4d03000000000000000000000000000000000000000000
    890890  0000000000000000000000000000000000000000000000000000000000000000
Note: See TracChangeset for help on using the changeset viewer.