Changeset 3164 in CLRX


Ignore:
Timestamp:
Jun 16, 2017, 4:28:31 PM (2 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Fixes for MSVC: string too big (VectorAdd?) and more serious extending size_t to zeroes in AsmGalliumFormat?.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

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

    r3162 r3164  
    341341    }
    342342}
    343 
    344 
    345343
    346344void AsmGalliumPseudoOps::doConfig(AsmGalliumHandler& handler, const char* pseudoOpPlace,
     
    13671365                    continue; // skip
    13681366                argSegmentSize = (argSegmentSize + argInfo.targetAlign-1) &
    1369                         ~(argInfo.targetAlign-1);
     1367                        ~size_t(argInfo.targetAlign-1);
    13701368                argSegmentSize += argInfo.targetSize;
    13711369            }
  • CLRadeonExtender/trunk/samples/VectorAdd.cpp

    r3158 r3164  
    239239end:
    240240        s_endpgm
    241 .elseiffmt gallium   # GalliumCompute code
     241)ffDXD" // MSVC fix: string too big
     242R"ffDXD(.elseiffmt gallium   # GalliumCompute code
    242243.get_llvm_version LLVM_VERSION
    243244.kernel vectorAdd
Note: See TracChangeset for help on using the changeset viewer.