[PATCH] D77238: [CUDA][NFC] Split math.h functions out of __clang_cuda_device_functions.h
Johannes Doerfert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 1 14:38:25 PDT 2020
jdoerfert marked an inline comment as done.
jdoerfert added inline comments.
================
Comment at: clang/lib/Headers/__clang_cuda_math.h:81
+#endif
+__DEVICE__ long long clock64() { return __nvvm_read_ptx_sreg_clock64(); }
+__DEVICE__ double copysign(double __a, double __b) {
----------------
I accidentally moved the clock functions and added the openmp ifdef we'll need later. I'll move the clock functions back before I commit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77238/new/
https://reviews.llvm.org/D77238
More information about the cfe-commits
mailing list