]> granicus.if.org Git - clang/commit
[CUDA] Add __device__ overloads for placement new and delete.
authorJustin Lebar <jlebar@google.com>
Wed, 10 Aug 2016 01:09:14 +0000 (01:09 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 10 Aug 2016 01:09:14 +0000 (01:09 +0000)
commit984f42a083bf8d99237355fc8b83830cdd12bea8
tree8e0faa2798ea2c41e3616cce6ab25ccecc29dfd3
parente6fe1d3d569b545f7bc7ef9d7054ff6315d43841
[CUDA] Add __device__ overloads for placement new and delete.

Summary:
Previously these sort of worked because they didn't end up resulting in
calls at the ptx layer.  But I'm adding stricter checks that break
placement new without these changes.

Reviewers: tra

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D23239

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278194 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/__clang_cuda_runtime_wrapper.h