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
4 changes: 4 additions & 0 deletions unified-runtime/include/ur_api.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions unified-runtime/scripts/core/exp-bindless-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,10 @@ returns:
- "`pDstImageDesc && UR_MEM_TYPE_IMAGE_CUBEMAP_EXP < pDstImageDesc->type`"
- $X_RESULT_ERROR_INVALID_IMAGE_SIZE
- $X_RESULT_ERROR_INVALID_OPERATION
- $X_RESULT_ERROR_INVALID_EVENT_WAIT_LIST:
- "`phEventWaitList == NULL && numEventsInWaitList > 0`"
- "`phEventWaitList != NULL && numEventsInWaitList == 0`"
- "If event objects in phEventWaitList are not valid events."
--- #--------------------------------------------------------------------------
type: function
desc: "Query an image memory handle for specific properties"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ ur_result_t bindlessImagesHandleCopyFlags(
uint32_t numWaitEvents, ze_event_handle_t *phWaitEvents) {

ZeStruct<ze_image_desc_t> zeSrcImageDesc;
ur2zeImageDesc(pSrcImageFormat, pSrcImageDesc, zeSrcImageDesc);
UR_CALL(ur2zeImageDesc(pSrcImageFormat, pSrcImageDesc, zeSrcImageDesc));
uint32_t SrcPixelSizeInBytes = getPixelSizeBytes(pSrcImageFormat);
uint32_t DstPixelSizeInBytes = getPixelSizeBytes(pDstImageFormat);

Expand Down
5 changes: 3 additions & 2 deletions unified-runtime/source/adapters/level_zero/v2/graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ur_exp_graph_handle_t_::~ur_exp_graph_handle_t_() {
ze_result_t ZeResult = ZE_CALL_NOCHECK(
hContext->getPlatform()->ZeGraphExt.zeGraphDestroyExp, (zeGraph));
if (ZeResult != ZE_RESULT_SUCCESS) {
UR_LOG(WARN, "Failed to destroy graph handle: {}", ZeResult);
UR_LOG_SAFE(WARN, "Failed to destroy graph handle: {}", ZeResult);
}
}
}
Expand All @@ -48,7 +48,8 @@ ur_exp_executable_graph_handle_t_::~ur_exp_executable_graph_handle_t_() {
hContext->getPlatform()->ZeGraphExt.zeExecutableGraphDestroyExp,
(zeExGraph));
if (ZeResult != ZE_RESULT_SUCCESS) {
UR_LOG(WARN, "Failed to destroy executable graph handle: {}", ZeResult);
UR_LOG_SAFE(WARN, "Failed to destroy executable graph handle: {}",
ZeResult);
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions unified-runtime/source/adapters/level_zero/v2/graph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ struct ur_exp_graph_handle_t_ : ur_object {
ze_graph_handle_t zeGraph);
~ur_exp_graph_handle_t_();

ur_exp_graph_handle_t_(const ur_exp_graph_handle_t_ &) = delete;
ur_exp_graph_handle_t_ &operator=(const ur_exp_graph_handle_t_ &) = delete;

ze_graph_handle_t getZeHandle() { return zeGraph; }
ur_context_handle_t getContext() { return hContext; }

Expand All @@ -35,6 +38,11 @@ struct ur_exp_executable_graph_handle_t_ : ur_object {
ur_exp_graph_handle_t hGraph);
~ur_exp_executable_graph_handle_t_();

ur_exp_executable_graph_handle_t_(const ur_exp_executable_graph_handle_t_ &) =
delete;
ur_exp_executable_graph_handle_t_ &
operator=(const ur_exp_executable_graph_handle_t_ &) = delete;

ze_executable_graph_handle_t &getZeHandle() { return zeExGraph; }
ur_context_handle_t getContext() const { return hContext; }

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions unified-runtime/source/loader/ur_libapi.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions unified-runtime/source/ur_api.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading