Changeset 4974 in CLRX


Ignore:
Timestamp:
Sep 19, 2019, 2:16:50 PM (4 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: Fixed calculation of kernel argument offset.

File:
1 edited

Legend:

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

    r4973 r4974  
    996996                const ROCmKernelArgInfo& prevArg = metadata.argInfos.back();
    997997                argAlign = (prevArg.offset + prevArg.size + realArgAlign-1) &
    998                             (realArgAlign-1);
     998                            ~(realArgAlign-1);
    999999            }
    10001000        }
Note: See TracChangeset for help on using the changeset viewer.