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

Method addConst

src/library/tools/ktest/step.cpp:335–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335Variable*
336Step::addConst(
337 const std::string& name,
338 const std::string& type,
339 const std::string& defaultValue)
340{
341 Variable *var = addVar(name, type, defaultValue);
342 var->setConstant(true);
343 return var;
344}
345
346Variable*
347Step::addVar(

Callers

nothing calls this directly

Calls 1

setConstantMethod · 0.80

Tested by

no test coverage detected