Skip to content

Commit 841d499

Browse files
committed
Apply CR comments
Signed-off-by: Mariya Podchishchaeva <[email protected]>
1 parent f17fbd9 commit 841d499

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

llvm/tools/sycl-post-link/sycl-post-link.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,12 @@ static void collectKernelsSet(
103103
}
104104
}
105105

106-
// Input parameter KernelsSet is a map containing groups of kernels with same
107-
// values in the sycl-module-id attribute.
108-
// ResSymbolsLists vector is output parameter.
109-
// Collects set of kernel names for each group of kernels.
106+
// Input parameter KernelModuleMap is a map containing groups of kernels with
107+
// same values of the sycl-module-id attribute. ResSymbolsLists is a vector of
108+
// kernel name lists. Each vector element is a string with kernel names from the
109+
// same module separated by \n.
110+
// The function saves names of kernels from one group to a single std::string
111+
// and stores this string to the ResSymbolsLists vector.
110112
static void collectSymbolsLists(
111113
std::map<std::string, std::vector<Function *>> &KernelsSet,
112114
std::vector<std::string> &ResSymbolsLists) {

0 commit comments

Comments
 (0)