Index: test-suite/trunk/External/CUDA/cmath.cu =================================================================== --- test-suite/trunk/External/CUDA/cmath.cu +++ test-suite/trunk/External/CUDA/cmath.cu @@ -1220,7 +1220,9 @@ static_assert((std::is_same::value), ""); assert(std::llrint(1) == 1LL); assert(std::llrint(1.) == 1LL); +#if CUDA_VERSION > 7050 assert(std::llrint(1.f) == 1LL); +#endif } __device__ void test_llround() @@ -1319,7 +1321,9 @@ static_assert((std::is_same::value), ""); assert(std::lrint(1) == 1L); assert(std::lrint(1.) == 1L); +#if CUDA_VERSION > 7050 assert(std::lrint(1.f) == 1L); +#endif } __device__ void test_lround() Index: test-suite/trunk/External/CUDA/math_h.cu =================================================================== --- test-suite/trunk/External/CUDA/math_h.cu +++ test-suite/trunk/External/CUDA/math_h.cu @@ -1201,7 +1201,9 @@ static_assert((std::is_same::value), ""); assert(llrint(1) == 1LL); assert(llrint(1.) == 1LL); +#if CUDA_VERSION > 7050 assert(llrint(1.f) == 1LL); +#endif } __device__ void test_llround() @@ -1296,7 +1298,9 @@ static_assert((std::is_same::value), ""); assert(lrint(1) == 1L); assert(lrint(1.) == 1L); +#if CUDA_VERSION > 7050 assert(lrint(1.f) == 1L); +#endif } __device__ void test_lround()