Skip to content

[AsyncAlloc][UR][Exp] Initial spec for async alloc entry points #17117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Feb 28, 2025
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
1,518 changes: 1,067 additions & 451 deletions unified-runtime/include/ur_api.h

Large diffs are not rendered by default.

36 changes: 24 additions & 12 deletions unified-runtime/include/ur_api_funcs.def
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,33 @@ _UR_API(urEnqueueReadHostPipe)
_UR_API(urEnqueueWriteHostPipe)
_UR_API(urEnqueueEventsWaitWithBarrierExt)
_UR_API(urEnqueueKernelLaunchCustomExp)
_UR_API(urEnqueueUSMDeviceAllocExp)
_UR_API(urEnqueueUSMSharedAllocExp)
_UR_API(urEnqueueUSMHostAllocExp)
_UR_API(urEnqueueUSMFreeExp)
_UR_API(urEnqueueCooperativeKernelLaunchExp)
_UR_API(urEnqueueTimestampRecordingExp)
_UR_API(urEnqueueNativeCommandExp)
_UR_API(urUSMHostAlloc)
_UR_API(urUSMDeviceAlloc)
_UR_API(urUSMSharedAlloc)
_UR_API(urUSMFree)
_UR_API(urUSMGetMemAllocInfo)
_UR_API(urUSMPoolCreate)
_UR_API(urUSMPoolRetain)
_UR_API(urUSMPoolRelease)
_UR_API(urUSMPoolGetInfo)
_UR_API(urUSMPoolCreateExp)
_UR_API(urUSMPoolDestroyExp)
_UR_API(urUSMPoolSetThresholdExp)
_UR_API(urUSMPoolGetDefaultDevicePoolExp)
_UR_API(urUSMPoolGetInfoExp)
_UR_API(urUSMPoolSetDevicePoolExp)
_UR_API(urUSMPoolGetDevicePoolExp)
_UR_API(urUSMPoolTrimToExp)
_UR_API(urUSMPitchedAllocExp)
_UR_API(urUSMImportExp)
_UR_API(urUSMReleaseExp)
_UR_API(urBindlessImagesUnsampledImageHandleDestroyExp)
_UR_API(urBindlessImagesSampledImageHandleDestroyExp)
_UR_API(urBindlessImagesImageAllocateExp)
Expand All @@ -153,18 +177,6 @@ _UR_API(urBindlessImagesImportExternalSemaphoreExp)
_UR_API(urBindlessImagesReleaseExternalSemaphoreExp)
_UR_API(urBindlessImagesWaitExternalSemaphoreExp)
_UR_API(urBindlessImagesSignalExternalSemaphoreExp)
_UR_API(urUSMHostAlloc)
_UR_API(urUSMDeviceAlloc)
_UR_API(urUSMSharedAlloc)
_UR_API(urUSMFree)
_UR_API(urUSMGetMemAllocInfo)
_UR_API(urUSMPoolCreate)
_UR_API(urUSMPoolRetain)
_UR_API(urUSMPoolRelease)
_UR_API(urUSMPoolGetInfo)
_UR_API(urUSMPitchedAllocExp)
_UR_API(urUSMImportExp)
_UR_API(urUSMReleaseExp)
_UR_API(urCommandBufferCreateExp)
_UR_API(urCommandBufferRetainExp)
_UR_API(urCommandBufferReleaseExp)
Expand Down
353 changes: 218 additions & 135 deletions unified-runtime/include/ur_ddi.h

Large diffs are not rendered by default.

380 changes: 260 additions & 120 deletions unified-runtime/include/ur_print.h

Large diffs are not rendered by default.

Loading