[PATCH] D144047: [CUDA][SPIRV] Match builtin types and __GCC_ATOMIC_XXX_LOCK_FREE macros on host/device
    Shangwu Yao via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Feb 14 14:13:58 PST 2023
    
    
  
shangwuyao created this revision.
shangwuyao added reviewers: jlebar, tra, yaxunl.
Herald added subscribers: mattd, carlosgalvezp, ThomasRaoux.
Herald added a project: All.
shangwuyao requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This change matches the CUDA/SPIRV behavior with CUDA/NVPTX, and makes some builtin types
and __GCC_ATOMIC_XXX_LOCK_FREE macros the same between the host and device. This is only
done when host triple is provided and known, otherwise the behavior is unchanged.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D144047
Files:
  clang/lib/Basic/Targets/SPIR.h
  clang/test/CodeGenCUDASPIRV/cuda-types.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144047.497439.patch
Type: text/x-patch
Size: 7290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230214/6bde6633/attachment.bin>
    
    
More information about the cfe-commits
mailing list