File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ extern "C" int64_t mlirAsyncRuntimGetNumWorkerThreads() {
446
446
447
447
extern " C" void mlirAsyncRuntimePrintCurrentThreadId () {
448
448
static thread_local std::thread::id thisId = std::this_thread::get_id ();
449
- std::cout << " Current thread id: " << thisId << std::endl ;
449
+ std::cout << " Current thread id: " << thisId << ' \n ' ;
450
450
}
451
451
452
452
// ===----------------------------------------------------------------------===//
Original file line number Diff line number Diff line change @@ -450,10 +450,10 @@ void _mlir_ciface_outSparseTensorWriterMetaData(
450
450
assert (dimRank != 0 );
451
451
index_type *dimSizes = MEMREF_GET_PAYLOAD (dimSizesRef);
452
452
std::ostream &file = *static_cast <std::ostream *>(p);
453
- file << dimRank << " " << nse << std::endl ;
453
+ file << dimRank << " " << nse << ' \n ' ;
454
454
for (index_type d = 0 ; d < dimRank - 1 ; d++)
455
455
file << dimSizes[d] << " " ;
456
- file << dimSizes[dimRank - 1 ] << std::endl ;
456
+ file << dimSizes[dimRank - 1 ] << ' \n ' ;
457
457
}
458
458
459
459
#define IMPL_OUTNEXT (VNAME, V ) \
@@ -468,7 +468,7 @@ void _mlir_ciface_outSparseTensorWriterMetaData(
468
468
for (index_type d = 0 ; d < dimRank; d++) \
469
469
file << (dimCoords[d] + 1 ) << " " ; \
470
470
V *value = MEMREF_GET_PAYLOAD (vref); \
471
- file << *value << std::endl; \
471
+ file << *value << ' \n ' ; \
472
472
}
473
473
MLIR_SPARSETENSOR_FOREVERY_V (IMPL_OUTNEXT)
474
474
#undef IMPL_OUTNEXT
You can’t perform that action at this time.
0 commit comments