[PATCH] D37539: [CUDA] Add device overloads for non-placement new/delete.
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 6 17:20:27 PDT 2017
tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/lib/Headers/cuda_wrappers/new:79
+}
+__device__ void operator delete[](void *ptr, std::size_t sz) CUDA_NOEXCEPT {
+ ::operator delete(ptr);
----------------
Is std::size_t intentional here? You use __SIZE_TYPE__ everywhere else.
https://reviews.llvm.org/D37539
More information about the cfe-commits
mailing list