Skip to content

Commit 31c1978

Browse files
committed
Fix whitespace issues in test files
1 parent 51dbf82 commit 31c1978

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

modules/cudawarping/test/interpolation.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ template <typename T> struct LanczosInterpolator
139139
return 1.0f;
140140
if (x >= A)
141141
return 0.0f;
142-
142+
143143
const float pi = 3.14159265358979323846f;
144144
float pi_x = pi * x;
145145
return sinf(pi_x) * sinf(pi_x / A) / (pi_x * pi_x / A);

modules/cudawarping/test/test_lanczos.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ CUDA_TEST_P(ResizeLanczosPerformance, Performance)
218218
double cpu_time = tm_cpu.getTimeMilli() / iterations;
219219
double speedup = cpu_time / gpu_time;
220220

221-
std::cout << "Size: " << size << " -> " << dsize
222-
<< ", Type: " << type
221+
std::cout << "Size: " << size << " -> " << dsize
222+
<< ", Type: " << type
223223
<< ", Coeff: " << coeff << std::endl;
224224
std::cout << " CPU: " << cpu_time << " ms" << std::endl;
225225
std::cout << " GPU: " << gpu_time << " ms" << std::endl;
@@ -234,4 +234,3 @@ INSTANTIATE_TEST_CASE_P(CUDA_Warping, ResizeLanczosPerformance, testing::Combine
234234

235235
}} // namespace
236236
#endif // HAVE_CUDA
237-

0 commit comments

Comments
 (0)