| 38 | }; |
| 39 | |
| 40 | template <typename T> bool |
| 41 | ErrorClass<T>::generateData() |
| 42 | { |
| 43 | metod.generateData(); |
| 44 | bool ret = metod.prepareDataToRun(); |
| 45 | |
| 46 | if (!ret) { |
| 47 | ::std::cerr << ">> Failed to create/enqueue buffer for a matrix." |
| 48 | << ::std::endl |
| 49 | << ">> Can't execute the test, because data is not transfered to GPU." |
| 50 | << ::std::endl |
| 51 | << ">> Test skipped." << ::std::endl; |
| 52 | SUCCEED(); |
| 53 | } |
| 54 | return ret; |
| 55 | } |
| 56 | |
| 57 | template <typename M> void |
| 58 | ErrorClass<M>::error(cl_int err_etalon) |
nothing calls this directly
no test coverage detected