[PATCH] D43602: [CUDA] Added missing functions.

2018-02-22 Thread Artem Belevich via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rC325814: [CUDA] Added missing functions. (authored by tra, committed by ). Changed prior to commit: https://reviews.llvm.org/D43602?vs=135348&id=135466#toc Repository: rC Clang https://reviews.llvm.o

[PATCH] D43602: [CUDA] Added missing functions.

2018-02-21 Thread Artem Belevich via Phabricator via cfe-commits
tra added a comment. In https://reviews.llvm.org/D43602#1015370, @jlebar wrote: > For my information, how are we verifying that we've caught everything? for v in 8.0 9.0 9.1 ; do /usr/local/cuda-$v/bin/nvcc -c -x cu /dev/null -o /tmp/null.o -arch=sm_60 -keep-dir=nvcc-$v -keep -v

[PATCH] D43602: [CUDA] Added missing functions.

2018-02-21 Thread Justin Lebar via Phabricator via cfe-commits
jlebar accepted this revision. jlebar added a comment. This revision is now accepted and ready to land. For my information, how are we verifying that we've caught everything? https://reviews.llvm.org/D43602 ___ cfe-commits mailing list cfe-commits@l

[PATCH] D43602: [CUDA] Added missing functions.

2018-02-21 Thread Artem Belevich via Phabricator via cfe-commits
tra updated this revision to Diff 135348. tra added a comment. Added missing __threadfence_system(). https://reviews.llvm.org/D43602 Files: clang/lib/Headers/__clang_cuda_device_functions.h Index: clang/lib/Headers/__clang_cuda_device_functions.h

[PATCH] D43602: [CUDA] Added missing functions.

2018-02-21 Thread Artem Belevich via Phabricator via cfe-commits
tra created this revision. tra added a reviewer: jlebar. Herald added a subscriber: sanjoy. Initial commit missed sincos(float), llabs() and few atomics that we used to pull in from device_functions.hpp, which we no longer include. https://reviews.llvm.org/D43602 Files: clang/lib/Headers/__cl