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

Method init

src/tests/functional/func-thread.cpp:114–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112};
113
114template <typename M> void
115MThreadClass<M>::init()
116{
117 //size_t maxElem = 1024; PENDING: Make it back to 1024
118 size_t maxElem = 128;
119
120 s_metod.initDefault(maxElem, 1);
121 s_metod.generateData();
122
123 for (int i=0; i < P_TH; ++i ) {
124 m_metod[i].initDefault(maxElem, 1);
125 //m_metod[i].generateData();
126 m_metod[i].copyData(s_metod);
127 }
128}
129
130template <typename M> void
131MThreadClass<M>::run()

Callers

nothing calls this directly

Calls 3

initDefaultMethod · 0.80
copyDataMethod · 0.80
generateDataMethod · 0.45

Tested by

no test coverage detected