Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 99ef5d23 authored by hhakim's avatar hhakim
Browse files

Update MatGeneric::to_string to print the factor memory address of CPU...

Update MatGeneric::to_string to print the factor memory address of CPU matrices as done already for GPU.
parent 73d1b403
Branches
Tags
No related merge requests found
......@@ -200,6 +200,7 @@ std::string Faust::MatGeneric<FPP,DEVICE>::to_string(int32_t nrows, int32_t ncol
str << ", density "<< density <<", nnz "<< nnz;
if(type == BSR)
str << " (nnz blocks: " << dynamic_cast<const MatBSR<FPP, Cpu>*>(this)->getNBlocks() << ")";
str << ", addr: " << this;
str <<std::endl;
if (is_identity)
str <<" identity matrix flag" << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment