Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions unified-runtime/source/adapters/offload/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceSelectBinary(
ImageTarget = UR_DEVICE_BINARY_TARGET_NVPTX64;
} else if (Backend == OL_PLATFORM_BACKEND_AMDGPU) {
ImageTarget = UR_DEVICE_BINARY_TARGET_AMDGCN;
} else if (Backend == OL_PLATFORM_BACKEND_LEVEL_ZERO) {
ImageTarget = UR_DEVICE_BINARY_TARGET_SPIRV64;
}

for (uint32_t i = 0; i < NumBinaries; ++i) {
Expand Down
2 changes: 1 addition & 1 deletion unified-runtime/source/adapters/offload/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramBuild(ur_context_handle_t,

UR_APIEXPORT ur_result_t UR_APICALL
urProgramBuildExp(ur_program_handle_t hProgram, uint32_t, ur_device_handle_t *,
const char *pOptions) {
ur_exp_program_flags_t, const char *pOptions) {
// Do nothing, program is built upon creation
if (pOptions && *pOptions) {
hProgram->Error = "Liboffload doesn't support link options";
Expand Down
Loading