Changeset 3157 in CLRX


Ignore:
Timestamp:
Jun 15, 2017, 8:57:44 AM (2 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Add support for LLVM 4.0 to samples.

Location:
CLRadeonExtender/trunk/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/samples/ReverseBits.cpp

    r3079 r3157  
    241241        s_endpgm
    242242.elseiffmt gallium   # GalliumCompute code
     243.get_llvm_version LLVM_VERSION
    243244.kernel reverseBits
    244245    .args
     
    255256.text
    256257reverseBits:
     258    .if LLVM_VERSION>=40000
     259        .skip 256
     260    .endif
    257261        s_load_dword s2, s[0:1], 6*SMUL         # s2 - local_size(0)
    258262        s_load_dword s3, s[0:1], 9*SMUL         # s3 - n
  • CLRadeonExtender/trunk/samples/VectorAdd.cpp

    r2902 r3157  
    240240        s_endpgm
    241241.elseiffmt gallium   # GalliumCompute code
     242.get_llvm_version LLVM_VERSION
    242243.kernel vectorAdd
    243244    .args
     
    255256.text
    256257vectorAdd:
     258    .if LLVM_VERSION>=40000
     259        .skip 256
     260    .endif
    257261        s_load_dword s2, s[0:1], 6*SMUL         # s2 - local_size(0)
    258262        s_load_dword s3, s[0:1], 9*SMUL         # s3 - n
Note: See TracChangeset for help on using the changeset viewer.