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

Method TearDown

src/tests/BlasBase.cpp:214–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void
215BlasBase::TearDown()
216{
217 cl_uint i;
218
219 for (i = 0; i < numCommandQueues_; i++) {
220 clReleaseCommandQueue(commandQueues_[i]);
221 }
222
223 if (context_ != NULL) {
224 clReleaseContext(context_);
225 context_ = NULL;
226 }
227
228 primaryDevice_ = additionalDevice_ = NULL;
229
230 clblasTeardown();
231}
232
233bool
234BlasBase::initialized()

Callers

nothing calls this directly

Calls 1

clblasTeardownFunction · 0.85

Tested by

no test coverage detected