MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / TEST_P

Function TEST_P

src/tests/accuracy_test_pow7.cpp:7456–7478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7454}
7455
7456TEST_P(accuracy_test_pow7_all_ip_size, power7_all_input_size) {
7457 power7::InpSizeParameters params = GetParam();
7458
7459 RecordProperty("x_dim_size", params.x_dim);
7460 RecordProperty("y_dim_size", params.y_dim);
7461 RecordProperty("z_dim_size", params.z_dim);
7462 RecordProperty("precision", params.precision);
7463
7464 switch(params.precision )
7465 {
7466 case CLFFT_SINGLE:
7467 try { accuracy_test_pow7_all_ip_size_in_place< float, cl_float, fftwf_complex >(params); }
7468 catch (const std::exception& err) { handle_exception(err); }
7469 break;
7470 case CLFFT_DOUBLE:
7471 try { accuracy_test_pow7_all_ip_size_in_place< double, cl_double, fftw_complex >(params); }
7472 catch (const std::exception& err) { handle_exception(err); }
7473 break;
7474 default:
7475 FAIL() << "input parameter corruption in the test:accuracy_test_pow7_all_ip_size.";
7476 };
7477
7478}
7479
7480INSTANTIATE_TEST_CASE_P(
7481 clfft_pow7_AllInpSizeTest,

Callers

nothing calls this directly

Calls 1

handle_exceptionFunction · 0.85

Tested by

no test coverage detected