Executable Graph - Extensions#
oneAPI Level Zero Specification - Version 1.18.31
Executable Graph - Extension Functions#
zeExecutableGraphGetSourceGraphExt#
Added in version 1.17
-
ZE_APIEXPORT ze_result_t ZE_APICALL zeExecutableGraphGetSourceGraphExt(ze_executable_graph_handle_t hGraph, ze_graph_handle_t *phSourceGraph)#
Returns the recorded graph used to instantiate an executable graph.
- Parameters:
hGraph – [in] handle of the executable graph
phSourceGraph – [out] pointer to the source recorded graph handle
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hGraph
ZE_RESULT_ERROR_INVALID_NULL_POINTER
nullptr == phSourceGraph
zeExecutableGraphDestroyExt#
Added in version 1.17
-
ZE_APIEXPORT ze_result_t ZE_APICALL zeExecutableGraphDestroyExt(ze_executable_graph_handle_t hGraph)#
Destroys an executable graph object.
The executable graph must not be in use or executing on any command list when it is destroyed.
After destruction, the handle becomes invalid and must not be used in further API calls.
- Parameters:
hGraph – [in][release] handle of the executable graph to destroy
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hGraph