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

Method setMatrixSize

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

Source from the content-addressed store, hash-verified

122}
123
124void
125MatrixVariable::setMatrixSize(
126 Variable *rows,
127 Variable *columns,
128 Variable *ld,
129 Variable *off)
130{
131 if ((rows == NULL) || (columns == NULL)) {
132 return;
133 }
134 rows_ = rows;
135 columns_ = columns;
136 ld_ = ld;
137 off_ = off;
138 matrixPointer_ = name_;
139 if (off != NULL) {
140 matrixPointer_ += " + " + off_->name();
141}
142}
143
144void
145VectorVariable::setVectorSize(

Callers 1

addMatrixMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected