@@ -2087,8 +2087,9 @@ typedef enum ur_device_info_t {
20872087 UR_DEVICE_INFO_VERSION = 70,
20882088 /// [char[]] null-terminated version of backend runtime
20892089 UR_DEVICE_INFO_BACKEND_RUNTIME_VERSION = 71,
2090- /// [char[]] Return a null-terminated space separated list of extension
2091- /// names
2090+ /// [char[]] Return a null-terminated string representing any backend
2091+ /// extensions supported by the adapter. Format and content is entirely
2092+ /// adapter defined.
20922093 UR_DEVICE_INFO_EXTENSIONS = 72,
20932094 /// [size_t] Maximum size in bytes of internal printf buffer
20942095 UR_DEVICE_INFO_PRINTF_BUFFER_SIZE = 73,
@@ -2320,6 +2321,17 @@ typedef enum ur_device_info_t {
23202321 /// [::ur_bool_t] returns true if the device supports enqueueing of
23212322 /// allocations and frees.
23222323 UR_DEVICE_INFO_ASYNC_USM_ALLOCATIONS_EXP = 0x2050,
2324+ /// [::ur_bool_t] Returns true if the device supports the use of kernel
2325+ /// launch properties.
2326+ UR_DEVICE_INFO_LAUNCH_PROPERTIES_SUPPORT_EXP = 0x3000,
2327+ /// [::ur_bool_t] Returns true if the device supports the USM P2P
2328+ /// experimental feature.
2329+ UR_DEVICE_INFO_USM_P2P_SUPPORT_EXP = 0x4000,
2330+ /// [::ur_bool_t] Returns true if the device supports cooperative kernels.
2331+ UR_DEVICE_INFO_COOPERATIVE_KERNEL_SUPPORT_EXP = 0x5000,
2332+ /// [::ur_bool_t] Returns true if the device supports the multi device
2333+ /// compile experimental feature.
2334+ UR_DEVICE_INFO_MULTI_DEVICE_COMPILE_SUPPORT_EXP = 0x6000,
23232335 /// @cond
23242336 UR_DEVICE_INFO_FORCE_UINT32 = 0x7fffffff
23252337 /// @endcond
@@ -2345,7 +2357,7 @@ typedef enum ur_device_info_t {
23452357/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
23462358/// + `NULL == hDevice`
23472359/// - ::UR_RESULT_ERROR_INVALID_ENUMERATION
2348- /// + `::UR_DEVICE_INFO_ASYNC_USM_ALLOCATIONS_EXP < propName`
2360+ /// + `::UR_DEVICE_INFO_MULTI_DEVICE_COMPILE_SUPPORT_EXP < propName`
23492361/// - ::UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION
23502362/// + If `propName` is not supported by the adapter.
23512363/// - ::UR_RESULT_ERROR_INVALID_SIZE
@@ -10421,13 +10433,6 @@ typedef enum ur_exp_command_buffer_command_info_t {
1042110433
1042210434} ur_exp_command_buffer_command_info_t;
1042310435
10424- ///////////////////////////////////////////////////////////////////////////////
10425- #ifndef UR_COMMAND_BUFFER_EXTENSION_STRING_EXP
10426- /// @brief The extension string which defines support for command-buffers which
10427- /// is returned when querying device extensions.
10428- #define UR_COMMAND_BUFFER_EXTENSION_STRING_EXP "ur_exp_command_buffer"
10429- #endif // UR_COMMAND_BUFFER_EXTENSION_STRING_EXP
10430-
1043110436///////////////////////////////////////////////////////////////////////////////
1043210437/// @brief Command-Buffer Descriptor Type
1043310438typedef struct ur_exp_command_buffer_desc_t {
@@ -11722,13 +11727,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferGetInfoExp(
1172211727#if !defined(__GNUC__)
1172311728#pragma region cooperative_kernels_(experimental)
1172411729#endif
11725- ///////////////////////////////////////////////////////////////////////////////
11726- #ifndef UR_COOPERATIVE_KERNELS_EXTENSION_STRING_EXP
11727- /// @brief The extension string which defines support for cooperative-kernels
11728- /// which is returned when querying device extensions.
11729- #define UR_COOPERATIVE_KERNELS_EXTENSION_STRING_EXP "ur_exp_cooperative_kernels"
11730- #endif // UR_COOPERATIVE_KERNELS_EXTENSION_STRING_EXP
11731-
1173211730///////////////////////////////////////////////////////////////////////////////
1173311731/// @brief Enqueue a command to execute a cooperative kernel
1173411732///
@@ -11878,13 +11876,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueTimestampRecordingExp(
1187811876#if !defined(__GNUC__)
1187911877#pragma region launch_properties_(experimental)
1188011878#endif
11881- ///////////////////////////////////////////////////////////////////////////////
11882- #ifndef UR_LAUNCH_PROPERTIES_EXTENSION_STRING_EXP
11883- /// @brief The extension string that defines support for the Launch Properties
11884- /// extension, which is returned when querying device extensions.
11885- #define UR_LAUNCH_PROPERTIES_EXTENSION_STRING_EXP "ur_exp_launch_properties"
11886- #endif // UR_LAUNCH_PROPERTIES_EXTENSION_STRING_EXP
11887-
1188811879///////////////////////////////////////////////////////////////////////////////
1188911880/// @brief Specifies a launch property id
1189011881///
@@ -12031,14 +12022,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueKernelLaunchCustomExp(
1203112022#if !defined(__GNUC__)
1203212023#pragma region multi_device_compile_(experimental)
1203312024#endif
12034- ///////////////////////////////////////////////////////////////////////////////
12035- #ifndef UR_MULTI_DEVICE_COMPILE_EXTENSION_STRING_EXP
12036- /// @brief The extension string which defines support for test
12037- /// which is returned when querying device extensions.
12038- #define UR_MULTI_DEVICE_COMPILE_EXTENSION_STRING_EXP \
12039- "ur_exp_multi_device_compile"
12040- #endif // UR_MULTI_DEVICE_COMPILE_EXTENSION_STRING_EXP
12041-
1204212025///////////////////////////////////////////////////////////////////////////////
1204312026/// @brief Produces an executable program from one program, negates need for the
1204412027/// linking step.
@@ -12226,13 +12209,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urUSMReleaseExp(
1222612209#if !defined(__GNUC__)
1222712210#pragma region usm_p2p_(experimental)
1222812211#endif
12229- ///////////////////////////////////////////////////////////////////////////////
12230- #ifndef UR_USM_P2P_EXTENSION_STRING_EXP
12231- /// @brief The extension string that defines support for USM P2P which is
12232- /// returned when querying device extensions.
12233- #define UR_USM_P2P_EXTENSION_STRING_EXP "ur_exp_usm_p2p"
12234- #endif // UR_USM_P2P_EXTENSION_STRING_EXP
12235-
1223612212///////////////////////////////////////////////////////////////////////////////
1223712213/// @brief Supported peer info
1223812214typedef enum ur_exp_peer_info_t {
0 commit comments