diff --git a/test/test_cos_pi_nvrtc_float.cpp b/test/test_cos_pi_nvrtc_float.cpp index 7c1eef3fa..2f541e217 100644 --- a/test/test_cos_pi_nvrtc_float.cpp +++ b/test/test_cos_pi_nvrtc_float.cpp @@ -21,7 +21,7 @@ typedef float float_type; const char* cuda_kernel = R"( -typedef double float_type; +typedef float float_type; #include extern "C" __global__ void test_cos_pi_kernel(const float_type *in1, const float_type*, float_type *out, int numElements) diff --git a/test/test_sin_pi_nvrtc_float.cpp b/test/test_sin_pi_nvrtc_float.cpp index 32cc38059..f67079774 100644 --- a/test/test_sin_pi_nvrtc_float.cpp +++ b/test/test_sin_pi_nvrtc_float.cpp @@ -21,7 +21,7 @@ typedef float float_type; const char* cuda_kernel = R"( -typedef double float_type; +typedef float float_type; #include extern "C" __global__ void test_sin_pi_kernel(const float_type *in1, const float_type*, float_type *out, int numElements)