From 6b3b5282db29f37a3b75d7644cf52a4667dd2417 Mon Sep 17 00:00:00 2001 From: Michael Bentley Date: Sat, 27 Jan 2018 14:30:36 -0700 Subject: [PATCH] Remove TestInput from comments --- litmus-tests/tests/langois.cpp | 33 --------------------------------- src/TestBase.h | 2 +- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/litmus-tests/tests/langois.cpp b/litmus-tests/tests/langois.cpp index bfdbf972..dd2f9951 100644 --- a/litmus-tests/tests/langois.cpp +++ b/litmus-tests/tests/langois.cpp @@ -8,39 +8,6 @@ #include -//this is a dummy -- needs to be implemented -//the body of a different algo in CUDA is left -//for instructional purposes -// template -// GLOBAL -// void -// addNameHere(const flit::CuTestInput* tiList, double* results){ -// #ifdef __CUDA__ -// auto idx = blockIdx.x * blockDim.x + threadIdx.x; -// #else -// auto idx = 0; -// #endif -// auto ti = tiList[idx]; -// T maxval = tiList[idx].vals[0]; -// T a = maxval; -// T b = maxval; -// T c = maxval * flit::csqrt((T)2.0); -// const T delta = maxval / (T)ti.iters; -// const T checkVal = (T)0.5 * b * a; - -// double score = 0.0; - -// for(T pos = 0; pos <= a; pos += delta){ -// b = flit::csqrt(flit::cpow(pos, (T)2.0) + -// flit::cpow(maxval, (T)2.0)); -// c = flit::csqrt(flit::cpow(a - pos, (T)2.0) + -// flit::cpow(maxval, (T)2.0)); -// auto crit = getCArea(a,b,c); -// score += std::abs(crit - checkVal); -// } -// results[idx] = score; -// } - //these are the helpers for the langois compensating algos //will be executed in their own right as well as supporting //other tests in this file diff --git a/src/TestBase.h b/src/TestBase.h index e7511a77..7b4be5f3 100644 --- a/src/TestBase.h +++ b/src/TestBase.h @@ -330,7 +330,7 @@ class TestBase { * * If the test input has many more inputs than this, then the run() function * will run the test as many times as it can with the amount of values given. - * For example, if the test requires 5 inputs, and the TestInput object + * For example, if the test requires 5 inputs, and the vector of test inputs * passed in has 27 inputs, then the test will be run 5 times, and the last * two inputs will be unused. */