[PATCH] D20389: NVPTX: Add supported CL features
    Yaxun Liu via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu May 19 12:13:31 PDT 2016
    
    
  
yaxunl added a comment.
> note: I had to add __OPENCL_VERSION__ defines manually, these can be removed once clang correctly reports the version
clang correctly generates __OPENCL_C_VERSION__ and OPENCL_VERSION_x_y macros. You can use them instead. For CL 1.1/1.2/2.0, you need to use -cl-std=CLx.y to specify OpenCL version.
Repository:
  rL LLVM
http://reviews.llvm.org/D20389
    
    
More information about the llvm-commits
mailing list