MCPcopy Create free account
hub / github.com/clMathLibraries/clSPARSE / enumMatrices

Function enumMatrices

src/benchmarks/cusparse-bench/src/main.cpp:100–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100std::vector< fs::path > enumMatrices( const std::string& root_dir )
101{
102 std::vector< fs::path > matxVec;
103
104 if( !findMatrices( root_dir, "mtx", matxVec ) )
105 throw std::runtime_error( "Could not read matrix files from disk" );
106
107 // Potential RVO optimization should make returning vector copy speedy
108 return matxVec;
109}
110
111int main(int argc, char *argv[])
112{

Callers 1

mainFunction · 0.70

Calls 1

findMatricesFunction · 0.70

Tested by

no test coverage detected