Commit 42b8b9d7 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Disabled empty paf test shell

parent dd471bda
Pipeline #86823 skipped
......@@ -60,24 +60,24 @@ void UnpackerTester::compare_against_host(
}
}
TEST_F(UnpackerTester, paf_unpack_test)
{
std::size_t n = 1024 * 3;
std::default_random_engine generator;
std::uniform_int_distribution<int> distribution(1,1<<31);
InputType host_input(n);
for (size_t ii = 0; ii < n; ++ii)
{
host_input[ii] = distribution(generator);
}
Unpacker::InputType gpu_input = host_input;
Unpacker::OutputType gpu_output;
OutputType host_output;
Unpacker unpacker(_stream);
unpacker.unpack(gpu_input, gpu_output);
unpacker_c_reference(host_input, host_output);
compare_against_host(gpu_output, host_output);
}
//TEST_F(UnpackerTester, paf_unpack_test)
//{
// std::size_t n = 1024 * 3;
// std::default_random_engine generator;
// std::uniform_int_distribution<int> distribution(1,1<<31);
// InputType host_input(n);
// for (size_t ii = 0; ii < n; ++ii)
// {
// host_input[ii] = distribution(generator);
// }
// Unpacker::InputType gpu_input = host_input;
// Unpacker::OutputType gpu_output;
// OutputType host_output.resize(n);
// Unpacker unpacker(_stream);
// unpacker.unpack(gpu_input, gpu_output);
// unpacker_c_reference(host_input, host_output);
// compare_against_host(gpu_output, host_output);
//}
} //namespace test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment