Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 5235a60

Browse files
author
Thales Sabino
committed
Fix issue when merging the OpenCL trace files to build the final .atp file.
1 parent 84bd148 commit 5235a60

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CodeXL/Components/GpuProfiling/Backend/Common/FileUtils.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,8 +1079,10 @@ bool FileUtils::MergeTmpTraceFiles(SP_outStream& sout,
10791079
gtList<osFilePath> files;
10801080
osDirectory tempFileDirectory(strTmpFilesDirPath);
10811081

1082-
gtString finalPrefix = strFilePrefix;
1083-
finalPrefix.append(L"*");
1082+
// ++LPGPU2: Thales: This fixes the parsing of the trace files when merging them.
1083+
gtString finalPrefix = strFilePrefix;
1084+
finalPrefix.append(L"*");
1085+
// --LPGPU2: Thales: This fixes the parsing of the trace files when merging them.
10841086

10851087
bool ret = tempFileDirectory.getContainedFilePaths(finalPrefix, osDirectory::SORT_BY_NAME_ASCENDING, files);
10861088

0 commit comments

Comments
 (0)