8383// 12.25 Added PI_EXT_DEVICE_INFO_ATOMIC_FENCE_ORDER_CAPABILITIES and
8484// PI_EXT_DEVICE_INFO_ATOMIC_FENCE_SCOPE_CAPABILITIES for piDeviceGetInfo.
8585// 12.26 Added piextEnqueueReadHostPipe and piextEnqueueWriteHostPipe functions.
86- // 12.27 Added new queue create and get APIs for immediate commandlists
87- // piextQueueCreate2, piextQueueCreateWithNativeHandle2,
88- // piextQueueGetNativeHandle2
86+ // 12.27 Added properties parameter to piextQueueCreateWithNativeHandle and
87+ // changed native handle type of piextQueueCreateWithNativeHandle and
88+ // piextQueueGetNativeHandle
8989// 12.28 Added piextMemImageCreateWithNativeHandle for creating images from
9090// native handles.
9191// 12.29 Support PI_EXT_PLATFORM_INFO_BACKEND query in piPlatformGetInfo
9292// 12.30 Added PI_EXT_INTEL_DEVICE_INFO_MEM_CHANNEL_SUPPORT device info query.
9393// 12.31 Added PI_EXT_CODEPLAY_DEVICE_INFO_MAX_REGISTERS_PER_WORK_GROUP device
9494// info query.
95+ // 12.32 Removed backwards compatibility of piextQueueCreateWithNativeHandle and
96+ // piextQueueGetNativeHandle
9597
96- #define _PI_H_VERSION_MAJOR 12
97- #define _PI_H_VERSION_MINOR 31
98+ #define _PI_H_VERSION_MAJOR 13
99+ #define _PI_H_VERSION_MINOR 32
98100
99101#define _PI_STRING_HELPER (a ) #a
100102#define _PI_CONCAT (a, b ) _PI_STRING_HELPER(a.b)
@@ -1210,12 +1212,6 @@ __SYCL_EXPORT pi_result piQueueCreate(pi_context context, pi_device device,
12101212__SYCL_EXPORT pi_result piextQueueCreate (pi_context context, pi_device device,
12111213 pi_queue_properties *properties,
12121214 pi_queue *queue);
1213- // / \param properties points to a zero-terminated array of extra data describing
1214- // / desired queue properties. Format is
1215- // / {[PROPERTY[, property-specific elements of data]*,]* 0}
1216- __SYCL_EXPORT pi_result piextQueueCreate2 (pi_context context, pi_device device,
1217- pi_queue_properties *properties,
1218- pi_queue *queue);
12191215
12201216__SYCL_EXPORT pi_result piQueueGetInfo (pi_queue command_queue,
12211217 pi_queue_info param_name,
@@ -1231,36 +1227,14 @@ __SYCL_EXPORT pi_result piQueueFinish(pi_queue command_queue);
12311227
12321228__SYCL_EXPORT pi_result piQueueFlush (pi_queue command_queue);
12331229
1234- // / Gets the native handle of a PI queue object.
1235- // /
1236- // / \param queue is the PI queue to get the native handle of.
1237- // / \param nativeHandle is the native handle of queue.
1238- __SYCL_EXPORT pi_result
1239- piextQueueGetNativeHandle (pi_queue queue, pi_native_handle *nativeHandle);
1240-
12411230// / Gets the native handle of a PI queue object.
12421231// /
12431232// / \param queue is the PI queue to get the native handle of.
12441233// / \param nativeHandle is the native handle of queue or commandlist.
12451234// / \param nativeHandleDesc provides additional properties of the native handle.
1246- __SYCL_EXPORT pi_result piextQueueGetNativeHandle2 (
1235+ __SYCL_EXPORT pi_result piextQueueGetNativeHandle (
12471236 pi_queue queue, pi_native_handle *nativeHandle, int32_t *nativeHandleDesc);
12481237
1249- // / Creates PI queue object from a native handle.
1250- // / NOTE: The created PI object takes ownership of the native handle.
1251- // /
1252- // / \param nativeHandle is the native handle to create PI queue from.
1253- // / \param context is the PI context of the queue.
1254- // / \param device is the PI device associated with the native device used when
1255- // / creating the native queue. This parameter is optional but some backends
1256- // / may fail to create the right PI queue if omitted.
1257- // / \param pluginOwnsNativeHandle Indicates whether the created PI object
1258- // / should take ownership of the native handle.
1259- // / \param queue is the PI queue created from the native handle.
1260- __SYCL_EXPORT pi_result piextQueueCreateWithNativeHandle (
1261- pi_native_handle nativeHandle, pi_context context, pi_device device,
1262- bool pluginOwnsNativeHandle, pi_queue *queue);
1263-
12641238// / Creates PI queue object from a native handle.
12651239// / NOTE: The created PI object takes ownership of the native handle.
12661240// /
@@ -1274,7 +1248,7 @@ __SYCL_EXPORT pi_result piextQueueCreateWithNativeHandle(
12741248// / should take ownership of the native handle.
12751249// / \param Properties holds queue properties.
12761250// / \param queue is the PI queue created from the native handle.
1277- __SYCL_EXPORT pi_result piextQueueCreateWithNativeHandle2 (
1251+ __SYCL_EXPORT pi_result piextQueueCreateWithNativeHandle (
12781252 pi_native_handle nativeHandle, int32_t nativeHandleDesc, pi_context context,
12791253 pi_device device, bool pluginOwnsNativeHandle,
12801254 pi_queue_properties *Properties, pi_queue *queue);
0 commit comments