Skip to content

Commit

Permalink
[L0] Return the build log on compilation failure
Browse files Browse the repository at this point in the history
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
  • Loading branch information
sarnex committed Aug 5, 2024
1 parent 84f5e70 commit 6b373e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/level_zero/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramBuildExp(
}
}
hProgram->ZeModuleMap.insert(std::make_pair(ZeDevice, ZeModuleHandle));
hProgram->ZeBuildLogMap.insert(std::make_pair(ZeDevice, ZeBuildLog));
}
hProgram->ZeBuildLogMap.insert(std::make_pair(ZeDevice, ZeBuildLog));
}

// We no longer need the IL / native code.
Expand Down

0 comments on commit 6b373e3

Please sign in to comment.