83
83
// 12.25 Added PI_EXT_DEVICE_INFO_ATOMIC_FENCE_ORDER_CAPABILITIES and
84
84
// PI_EXT_DEVICE_INFO_ATOMIC_FENCE_SCOPE_CAPABILITIES for piDeviceGetInfo.
85
85
// 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
89
89
// 12.28 Added piextMemImageCreateWithNativeHandle for creating images from
90
90
// native handles.
91
91
// 12.29 Support PI_EXT_PLATFORM_INFO_BACKEND query in piPlatformGetInfo
92
92
// 12.30 Added PI_EXT_INTEL_DEVICE_INFO_MEM_CHANNEL_SUPPORT device info query.
93
93
// 12.31 Added PI_EXT_CODEPLAY_DEVICE_INFO_MAX_REGISTERS_PER_WORK_GROUP device
94
94
// info query.
95
+ // 12.32 Removed backwards compatibility of piextQueueCreateWithNativeHandle and
96
+ // piextQueueGetNativeHandle
95
97
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
98
100
99
101
#define _PI_STRING_HELPER (a ) #a
100
102
#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,
1210
1212
__SYCL_EXPORT pi_result piextQueueCreate (pi_context context, pi_device device,
1211
1213
pi_queue_properties *properties,
1212
1214
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);
1219
1215
1220
1216
__SYCL_EXPORT pi_result piQueueGetInfo (pi_queue command_queue,
1221
1217
pi_queue_info param_name,
@@ -1231,36 +1227,14 @@ __SYCL_EXPORT pi_result piQueueFinish(pi_queue command_queue);
1231
1227
1232
1228
__SYCL_EXPORT pi_result piQueueFlush (pi_queue command_queue);
1233
1229
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
-
1241
1230
// / Gets the native handle of a PI queue object.
1242
1231
// /
1243
1232
// / \param queue is the PI queue to get the native handle of.
1244
1233
// / \param nativeHandle is the native handle of queue or commandlist.
1245
1234
// / \param nativeHandleDesc provides additional properties of the native handle.
1246
- __SYCL_EXPORT pi_result piextQueueGetNativeHandle2 (
1235
+ __SYCL_EXPORT pi_result piextQueueGetNativeHandle (
1247
1236
pi_queue queue, pi_native_handle *nativeHandle, int32_t *nativeHandleDesc);
1248
1237
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
-
1264
1238
// / Creates PI queue object from a native handle.
1265
1239
// / NOTE: The created PI object takes ownership of the native handle.
1266
1240
// /
@@ -1274,7 +1248,7 @@ __SYCL_EXPORT pi_result piextQueueCreateWithNativeHandle(
1274
1248
// / should take ownership of the native handle.
1275
1249
// / \param Properties holds queue properties.
1276
1250
// / \param queue is the PI queue created from the native handle.
1277
- __SYCL_EXPORT pi_result piextQueueCreateWithNativeHandle2 (
1251
+ __SYCL_EXPORT pi_result piextQueueCreateWithNativeHandle (
1278
1252
pi_native_handle nativeHandle, int32_t nativeHandleDesc, pi_context context,
1279
1253
pi_device device, bool pluginOwnsNativeHandle,
1280
1254
pi_queue_properties *Properties, pi_queue *queue);
0 commit comments