| 7454 | } |
| 7455 | |
| 7456 | TEST_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 | |
| 7480 | INSTANTIATE_TEST_CASE_P( |
| 7481 | clfft_pow7_AllInpSizeTest, |
nothing calls this directly
no test coverage detected