Skip to content

Commit 5aad2e3

Browse files
[SYCL][NFC] Fix execution graph dump (#1331)
Replace new lines with escape sequences. Signed-off-by: Sergey Semenov <[email protected]>
1 parent 6cfd2cb commit 5aad2e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/source/detail/scheduler/commands.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ cl_int UpdateHostRequirementCommand::enqueueImp() {
10551055
void UpdateHostRequirementCommand::printDot(std::ostream &Stream) const {
10561056
Stream << "\"" << this << "\" [style=filled, fillcolor=\"#f1337f\", label=\"";
10571057

1058-
Stream << "ID = " << this << "\n";
1058+
Stream << "ID = " << this << "\\n";
10591059
Stream << "UPDATE REQ ON " << deviceToString(MQueue->get_device()) << "\\n";
10601060
bool IsReqOnBuffer =
10611061
MDstReq.MSYCLMemObj->getType() == SYCLMemObjI::MemObjType::BUFFER;
@@ -1361,7 +1361,7 @@ void ExecCGCommand::emitInstrumentationData() {
13611361
void ExecCGCommand::printDot(std::ostream &Stream) const {
13621362
Stream << "\"" << this << "\" [style=filled, fillcolor=\"#AFFF82\", label=\"";
13631363

1364-
Stream << "ID = " << this << "\n";
1364+
Stream << "ID = " << this << "\\n";
13651365
Stream << "EXEC CG ON " << deviceToString(MQueue->get_device()) << "\\n";
13661366

13671367
switch (MCommandGroup->getType()) {

0 commit comments

Comments
 (0)