ABataev added inline comments.
================ Comment at: lib/Headers/__clang_cuda_cmath.h:54 __DEVICE__ float fmod(float __x, float __y) { return ::fmodf(__x, __y); } +#ifndef _OPENMP __DEVICE__ int fpclassify(float __x) { ---------------- Why we have this guard here? It does not work for OpenMP? Why? ================ Comment at: lib/Headers/__clang_cuda_device_functions.h:49 +#if defined(__cplusplus) __DEVICE__ void __brkpt(int __a) { __brkpt(); } +#endif ---------------- Can we do anything with this in ะก mode? I mean, to allow it in C. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61399/new/ https://reviews.llvm.org/D61399 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits