mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 19:29:02 +08:00
Fix grammar.
This commit is contained in:
parent
302a404b7e
commit
e5e63c2cad
@ -314,7 +314,7 @@ EIGEN_STRONG_INLINE __device__ bool operator >= (const half& a, const half& b) {
|
||||
#endif
|
||||
|
||||
// The EIGEN_COMP_CLANG && !EIGEN_COMP_NVCC clause is necessary on Mac where we
|
||||
// that suspect NVCC doing device-side preprocessing with clang, but actually
|
||||
// suspect that NVCC is doing device-side preprocessing with clang, but actually
|
||||
// compiling with cicc, which is obviously not clang.
|
||||
#if !defined(EIGEN_HAS_NATIVE_FP16) || (EIGEN_COMP_CLANG && !EIGEN_COMP_NVCC) // Emulate support for half floats
|
||||
|
||||
|
@ -103,7 +103,7 @@ template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pset1<double2>(const do
|
||||
}
|
||||
|
||||
// The EIGEN_COMP_CLANG && !EIGEN_COMP_NVCC clause is necessary on Mac where we
|
||||
// that suspect NVCC doing device-side preprocessing with clang, but actually
|
||||
// suspect that NVCC is doing device-side preprocessing with clang, but actually
|
||||
// compiling with cicc, which is obviously not clang.
|
||||
#if defined(EIGEN_CUDA_ARCH) || defined(EIGEN_HIP_DEVICE_COMPILE) || (defined(EIGEN_CUDACC) && EIGEN_COMP_CLANG && !EIGEN_COMP_NVCC)
|
||||
namespace {
|
||||
|
Loading…
x
Reference in New Issue
Block a user