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

Method setVectorSize

src/library/tools/ktest/var.cpp:144–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void
145VectorVariable::setVectorSize(
146 Variable *nElems,
147 Variable *inc,
148 Variable *off)
149{
150 if (nElems == NULL) {
151 return;
152 }
153 nElems_ = nElems;
154 inc_ = inc;
155 off_ = off;
156 vectorPointer_ = name_;
157 if (off != NULL) {
158 vectorPointer_ += " + " + off_->name();
159}
160}
161
162std::string
163Variable::flagsStr() const

Callers 1

addVectorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected