From dd711380e261cb5974a375867e31eb34d63c6316 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Tue, 13 Aug 2024 11:47:55 -0400 Subject: [PATCH] Fix types in NVRTC testing --- test/test_cos_pi_nvrtc_float.cpp | 2 +- test/test_sin_pi_nvrtc_float.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)