Skip to content

Commit 6b373e3

Browse files
committed
[L0] Return the build log on compilation failure
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent 84f5e70 commit 6b373e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/level_zero/program.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramBuildExp(
209209
}
210210
}
211211
hProgram->ZeModuleMap.insert(std::make_pair(ZeDevice, ZeModuleHandle));
212-
hProgram->ZeBuildLogMap.insert(std::make_pair(ZeDevice, ZeBuildLog));
213212
}
213+
hProgram->ZeBuildLogMap.insert(std::make_pair(ZeDevice, ZeBuildLog));
214214
}
215215

216216
// We no longer need the IL / native code.

0 commit comments

Comments
 (0)