Skip to content

Commit

Permalink
[SYCL][Graph] Bump UR hash
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanC committed Jul 9, 2024
1 parent 1207b15 commit c245470
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
10 changes: 2 additions & 8 deletions sycl/plugins/unified_runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,8 @@ if(SYCL_PI_UR_USE_FETCH_CONTENT)
CACHE PATH "Path to external '${name}' adapter source dir" FORCE)
endfunction()

set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git")
# commit 658393fa28837ecc3dbe2901368ff91f526e8ff5
# Merge: 5be5aa49 649c5f04
# Author: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
# Date: Tue Jul 9 11:20:06 2024 +0100
# Merge pull request #1814 from nrspruit/fix_l0_queue_cts
# [L0] Fix Queue get info and fix Queue release decrement
set(UNIFIED_RUNTIME_TAG 658393fa28837ecc3dbe2901368ff91f526e8ff5)
set(UNIFIED_RUNTIME_REPO "https://github.com/Bensuo/unified-runtime.git")
set(UNIFIED_RUNTIME_TAG ewan/ur_dyn_events)

fetch_adapter_source(level_zero
${UNIFIED_RUNTIME_REPO}
Expand Down
26 changes: 14 additions & 12 deletions sycl/plugins/unified_runtime/pi2ur.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4654,7 +4654,7 @@ inline pi_result piextCommandBufferNDRangeKernel(
reinterpret_cast<ur_exp_command_buffer_command_handle_t *>(Command);
HANDLE_ERRORS(urCommandBufferAppendKernelLaunchExp(
UrCommandBuffer, UrKernel, WorkDim, GlobalWorkOffset, GlobalWorkSize,
LocalWorkSize, NumSyncPointsInWaitList, SyncPointWaitList, SyncPoint,
LocalWorkSize, NumSyncPointsInWaitList, SyncPointWaitList, 0, nullptr, SyncPoint, nullptr,
UrCommandHandle));

return PI_SUCCESS;
Expand All @@ -4669,7 +4669,7 @@ inline pi_result piextCommandBufferMemcpyUSM(

HANDLE_ERRORS(urCommandBufferAppendUSMMemcpyExp(
UrCommandBuffer, DstPtr, SrcPtr, Size, NumSyncPointsInWaitList,
SyncPointWaitList, SyncPoint));
SyncPointWaitList, 0, nullptr, SyncPoint, nullptr, nullptr));

return PI_SUCCESS;
}
Expand All @@ -4687,7 +4687,7 @@ inline pi_result piextCommandBufferMemBufferCopy(

HANDLE_ERRORS(urCommandBufferAppendMemBufferCopyExp(
UrCommandBuffer, UrSrcMem, UrDstMem, SrcOffset, DstOffset, Size,
NumSyncPointsInWaitList, SyncPointWaitList, SyncPoint));
NumSyncPointsInWaitList, SyncPointWaitList, 0, nullptr, SyncPoint, nullptr, nullptr));

return PI_SUCCESS;
}
Expand Down Expand Up @@ -4716,7 +4716,7 @@ inline pi_result piextCommandBufferMemBufferCopyRect(
HANDLE_ERRORS(urCommandBufferAppendMemBufferCopyRectExp(
UrCommandBuffer, UrSrcMem, UrDstMem, UrSrcOrigin, UrDstOrigin, UrRegion,
SrcRowPitch, SrcSlicePitch, DstRowPitch, DstSlicePitch,
NumSyncPointsInWaitList, SyncPointWaitList, SyncPoint));
NumSyncPointsInWaitList, SyncPointWaitList, 0, nullptr, SyncPoint, nullptr, nullptr));

return PI_SUCCESS;
}
Expand Down Expand Up @@ -4746,7 +4746,7 @@ inline pi_result piextCommandBufferMemBufferReadRect(
HANDLE_ERRORS(urCommandBufferAppendMemBufferReadRectExp(
UrCommandBuffer, UrBuffer, UrBufferOffset, UrHostOffset, UrRegion,
BufferRowPitch, BufferSlicePitch, HostRowPitch, HostSlicePitch, Ptr,
NumSyncPointsInWaitList, SyncPointWaitList, SyncPoint));
NumSyncPointsInWaitList, SyncPointWaitList, 0, nullptr, SyncPoint, nullptr, nullptr));

return PI_SUCCESS;
}
Expand All @@ -4763,7 +4763,7 @@ inline pi_result piextCommandBufferMemBufferRead(

HANDLE_ERRORS(urCommandBufferAppendMemBufferReadExp(
UrCommandBuffer, UrBuffer, Offset, Size, Dst, NumSyncPointsInWaitList,
SyncPointWaitList, SyncPoint));
SyncPointWaitList, 0, nullptr, SyncPoint, nullptr, nullptr));

return PI_SUCCESS;
}
Expand Down Expand Up @@ -4794,7 +4794,7 @@ inline pi_result piextCommandBufferMemBufferWriteRect(
UrCommandBuffer, UrBuffer, UrBufferOffset, UrHostOffset, UrRegion,
BufferRowPitch, BufferSlicePitch, HostRowPitch, HostSlicePitch,
const_cast<void *>(Ptr), NumSyncPointsInWaitList, SyncPointWaitList,
SyncPoint));
0, nullptr, SyncPoint, nullptr, nullptr));

return PI_SUCCESS;
}
Expand All @@ -4812,7 +4812,8 @@ inline pi_result piextCommandBufferMemBufferWrite(

HANDLE_ERRORS(urCommandBufferAppendMemBufferWriteExp(
UrCommandBuffer, UrBuffer, Offset, Size, const_cast<void *>(Ptr),
NumSyncPointsInWaitList, SyncPointWaitList, SyncPoint));
NumSyncPointsInWaitList, SyncPointWaitList, 0, nullptr, SyncPoint,
nullptr, nullptr));

return PI_SUCCESS;
}
Expand All @@ -4830,7 +4831,8 @@ inline pi_result piextCommandBufferMemBufferFill(

HANDLE_ERRORS(urCommandBufferAppendMemBufferFillExp(
UrCommandBuffer, UrBuffer, Pattern, PatternSize, Offset, Size,
NumSyncPointsInWaitList, SyncPointWaitList, SyncPoint));
NumSyncPointsInWaitList, SyncPointWaitList, 0, nullptr, SyncPoint,
nullptr, nullptr));
return PI_SUCCESS;
}

Expand All @@ -4844,7 +4846,7 @@ inline pi_result piextCommandBufferFillUSM(

HANDLE_ERRORS(urCommandBufferAppendUSMFillExp(
UrCommandBuffer, Ptr, Pattern, PatternSize, Size, NumSyncPointsInWaitList,
SyncPointWaitList, SyncPoint));
SyncPointWaitList, 0, nullptr, SyncPoint, nullptr, nullptr));
return PI_SUCCESS;
}

Expand All @@ -4865,7 +4867,7 @@ inline pi_result piextCommandBufferPrefetchUSM(
ur_usm_migration_flags_t UrFlags{};
HANDLE_ERRORS(urCommandBufferAppendUSMPrefetchExp(
UrCommandBuffer, Ptr, Size, UrFlags, NumSyncPointsInWaitList,
SyncPointWaitList, SyncPoint));
SyncPointWaitList, 0, nullptr, SyncPoint, nullptr, nullptr));
return PI_SUCCESS;
}

Expand Down Expand Up @@ -4908,7 +4910,7 @@ inline pi_result piextCommandBufferAdviseUSM(

HANDLE_ERRORS(urCommandBufferAppendUSMAdviseExp(
UrCommandBuffer, Ptr, Length, UrAdvice, NumSyncPointsInWaitList,
SyncPointWaitList, SyncPoint));
SyncPointWaitList, 0, nullptr, SyncPoint, nullptr, nullptr));
return PI_SUCCESS;
}

Expand Down

0 comments on commit c245470

Please sign in to comment.