MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / generateData

Method generateData

src/tests/functional/func-event.cpp:44–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 void runIn();
43};
44template <typename T> bool
45EventClass<T>::generateData()
46{
47 metod.generateData();
48 bool ret =metod.prepareDataToRun();
49 if (!ret) {
50 ::std::cerr << ">> Failed to create/enqueue buffer for a matrix."
51 << ::std::endl
52 << ">> Can't execute the test, because data is not transfered to GPU."
53 << ::std::endl
54 << ">> Test skipped." << ::std::endl;
55 SUCCEED();
56 }
57 return ret;
58}
59
60template <typename M> void
61EventClass<M>::runOut()

Callers

nothing calls this directly

Calls 1

prepareDataToRunMethod · 0.80

Tested by

no test coverage detected