Re: [PATCH] D11694: [CUDA] Added stubs for __nvvm_atom_add*_d()

2015-08-19 Thread Artem Belevich via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL245502: [CUDA] Added stubs for __nvvm_atom_add_*_d() builtins. (authored by tra). Changed prior to commit: http://reviews.llvm.org/D11694?vs=31157id=32616#toc Repository: rL LLVM

Re: [PATCH] D12122: [CUDA] Add appropriate host/device attribute to target-specific builtins.

2015-08-18 Thread Artem Belevich via cfe-commits
tra updated this revision to Diff 32481. tra added a comment. Added a comment explaining reasoning behind attribute choice for target-specific builtins. http://reviews.llvm.org/D12122 Files: include/clang/Basic/Builtins.h lib/Sema/SemaChecking.cpp lib/Sema/SemaDecl.cpp

Re: [PATCH] D12122: [CUDA] Add appropriate host/device attribute to target-specific builtins.

2015-08-18 Thread Artem Belevich via cfe-commits
tra updated this revision to Diff 32478. tra marked an inline comment as done. tra added a comment. used isTSBuiltin in SemaChecking.cpp http://reviews.llvm.org/D12122 Files: include/clang/Basic/Builtins.h lib/Sema/SemaChecking.cpp lib/Sema/SemaDecl.cpp test/SemaCUDA/builtins.cu

Re: [PATCH] D12122: [CUDA] Add appropriate host/device attribute to target-specific builtins.

2015-08-18 Thread Artem Belevich via cfe-commits
tra marked an inline comment as done. Comment at: lib/Sema/SemaDecl.cpp:11166 @@ +11165,3 @@ +!FD-hasAttrCUDADeviceAttr() !FD-hasAttrCUDAHostAttr()) { + if (getLangOpts().CUDAIsDevice) +FD-addAttr(CUDADeviceAttr::CreateImplicit(Context, FD-getLocation()));

[PATCH] D12122: [CUDA] Add appropriate host/device attribute to target-specific builtins.

2015-08-18 Thread Artem Belevich via cfe-commits
tra created this revision. tra added reviewers: eliben, echristo. tra added a subscriber: cfe-commits. The patch adds appropriate __host__ or __device__ attributes to target-specific builtins so we can properly check whether they may or may not be called from particular context.

r244501 - [CUDA] Add implicit __attribute__((used)) to all __global__ functions.

2015-08-10 Thread Artem Belevich via cfe-commits
Author: tra Date: Mon Aug 10 15:57:02 2015 New Revision: 244501 URL: http://llvm.org/viewvc/llvm-project?rev=244501view=rev Log: [CUDA] Add implicit __attribute__((used)) to all __global__ functions. This allows emitting kernels that were instantiated from the host code and which would never be

Re: [PATCH] D11666: [CUDA] Make sure we emit all templated __global__ functions on device side.

2015-08-10 Thread Artem Belevich via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL244501: [CUDA] Add implicit __attribute__((used)) to all __global__ functions. (authored by tra). Changed prior to commit: http://reviews.llvm.org/D11666?vs=31128id=31718#toc Repository: rL LLVM

Re: [PATCH] D11690: [CUDA] Added stubs for new attributes used by CUDA headers.

2015-08-10 Thread Artem Belevich via cfe-commits
tra added a comment. LGTM'ed by Aaron Ballman via email that didn't make it to Phabricator. http://reviews.llvm.org/D11690 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    4   5   6   7   8   9