@@ -930,6 +930,84 @@ ur_result_t urQueueFlush(
930930 return Queue->executeAllOpenCommandLists ();
931931}
932932
933+ // Graph capture experimental functions - not yet supported
934+ ur_result_t urQueueBeginGraphCaptureExp (ur_queue_handle_t hQueue,
935+ void *pProperties) {
936+ std::ignore = hQueue;
937+ std::ignore = pProperties;
938+ UR_LOG_LEGACY (ERR,
939+ logger::LegacyMessage (" [UR][L0] {} function not implemented!" ),
940+ " {} function not implemented!" , __FUNCTION__);
941+ return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
942+ }
943+
944+ ur_result_t urQueueBeginCaptureIntoGraphExp (ur_queue_handle_t hQueue,
945+ ur_exp_graph_handle_t hGraph,
946+ void *pProperties) {
947+ std::ignore = hQueue;
948+ std::ignore = hGraph;
949+ std::ignore = pProperties;
950+ UR_LOG_LEGACY (ERR,
951+ logger::LegacyMessage (" [UR][L0] {} function not implemented!" ),
952+ " {} function not implemented!" , __FUNCTION__);
953+ return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
954+ }
955+
956+ ur_result_t urQueueEndGraphCaptureExp (ur_queue_handle_t hQueue,
957+ ur_exp_graph_handle_t *phGraph,
958+ void *pProperties) {
959+ std::ignore = hQueue;
960+ std::ignore = pProperties;
961+ if (phGraph)
962+ *phGraph = nullptr ;
963+ UR_LOG_LEGACY (ERR,
964+ logger::LegacyMessage (" [UR][L0] {} function not implemented!" ),
965+ " {} function not implemented!" , __FUNCTION__);
966+ return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
967+ }
968+
969+ ur_result_t
970+ urQueueInstantiateGraphExp (ur_exp_graph_handle_t hGraph,
971+ ur_exp_executable_graph_handle_t *phExecutableGraph,
972+ void *pProperties) {
973+ std::ignore = hGraph;
974+ std::ignore = pProperties;
975+ if (phExecutableGraph)
976+ *phExecutableGraph = nullptr ;
977+ UR_LOG_LEGACY (ERR,
978+ logger::LegacyMessage (" [UR][L0] {} function not implemented!" ),
979+ " {} function not implemented!" , __FUNCTION__);
980+ return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
981+ }
982+
983+ ur_result_t urQueueAppendGraphExp (
984+ ur_queue_handle_t hQueue, ur_exp_executable_graph_handle_t hExecutableGraph,
985+ void *pProperties, ur_event_handle_t *phEvent, uint32_t numEventsInWaitList,
986+ const ur_event_handle_t *phEventWaitList) {
987+ std::ignore = hQueue;
988+ std::ignore = hExecutableGraph;
989+ std::ignore = pProperties;
990+ std::ignore = numEventsInWaitList;
991+ std::ignore = phEventWaitList;
992+ if (phEvent)
993+ *phEvent = nullptr ;
994+ UR_LOG_LEGACY (ERR,
995+ logger::LegacyMessage (" [UR][L0] {} function not implemented!" ),
996+ " {} function not implemented!" , __FUNCTION__);
997+ return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
998+ }
999+
1000+ ur_result_t urQueueIsGraphCaptureEnabledExp (ur_queue_handle_t hQueue,
1001+ bool *pCaptureEnabled) {
1002+ std::ignore = hQueue;
1003+ if (pCaptureEnabled)
1004+ *pCaptureEnabled = false ;
1005+ UR_LOG_LEGACY (ERR,
1006+ logger::LegacyMessage (" [UR][L0] {} function not implemented!" ),
1007+ " {} function not implemented!" , __FUNCTION__);
1008+ return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
1009+ }
1010+
9331011} // namespace ur::level_zero
9341012
9351013// Configuration of the command-list batching.
0 commit comments