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

Method getInstance

src/tests/BlasBase.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace clMath {
27
28BlasBase* BlasBase::getInstance()
29{
30 static BlasBase instance;
31
32 if (!instance.initialized()) {
33 return NULL;
34 }
35 return &instance;
36}
37
38BlasBase::BlasBase()
39 : platform_(0), primaryDevice_(0), additionalDevice_(0), context_(NULL),

Callers

nothing calls this directly

Calls 1

initializedMethod · 0.80

Tested by

no test coverage detected