We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3202106 commit b1012f7Copy full SHA for b1012f7
IGC/VectorCompiler/lib/GenXCodeGen/GenXCisaBuilder.cpp
@@ -1128,8 +1128,12 @@ bool GenXKernelBuilder::run() {
1128
if (F->hasFnAttribute(genx::FunctionMD::CMStackCall) ||
1129
F->hasFnAttribute(genx::FunctionMD::ReferencedIndirectly)) {
1130
VISAFunction *stackFunc = nullptr;
1131
+
1132
FuncName = F->getName();
1133
CisaBuilder->AddFunction(stackFunc, FuncName.c_str());
1134
+ std::string AsmName = buildAsmName().append("_").append(FuncName);
1135
+ CISA_CALL(stackFunc->AddKernelAttribute("OutputAsmPath",
1136
+ AsmName.size(), AsmName.c_str()));
1137
IGC_ASSERT(stackFunc);
1138
Func2Kern[F] = stackFunc;
1139
Kernel = stackFunc;
0 commit comments