@@ -1451,20 +1451,20 @@ UR_APIEXPORT ur_result_t UR_APICALL urPlatformGet(
1451
1451
///////////////////////////////////////////////////////////////////////////////
1452
1452
/// @brief Supported platform info
1453
1453
typedef enum ur_platform_info_t {
1454
- /// [char[]] The string denoting name of the platform. The size of the
1455
- /// info needs to be dynamically queried.
1456
- UR_PLATFORM_INFO_NAME = 1,
1457
- /// [char[]] The string denoting name of the vendor of the platform. The
1454
+ /// [char[]] The null-terminated string denoting name of the platform. The
1458
1455
/// size of the info needs to be dynamically queried.
1456
+ UR_PLATFORM_INFO_NAME = 1,
1457
+ /// [char[]] The null-terminated string denoting name of the vendor of the
1458
+ /// platform. The size of the info needs to be dynamically queried.
1459
1459
UR_PLATFORM_INFO_VENDOR_NAME = 2,
1460
- /// [char[]] The string denoting the version of the platform. The size of
1461
- /// the info needs to be dynamically queried.
1460
+ /// [char[]] The null-terminatedstring denoting the version of the
1461
+ /// platform. The size of the info needs to be dynamically queried.
1462
1462
UR_PLATFORM_INFO_VERSION = 3,
1463
- /// [char[]] The string denoting extensions supported by the platform. The
1464
- /// size of the info needs to be dynamically queried.
1463
+ /// [char[]] The null-terminatedstring denoting extensions supported by
1464
+ /// the platform. The size of the info needs to be dynamically queried.
1465
1465
UR_PLATFORM_INFO_EXTENSIONS = 4,
1466
- /// [char[]] The string denoting profile of the platform. The size of the
1467
- /// info needs to be dynamically queried.
1466
+ /// [char[]] The null-terminated string denoting profile of the platform.
1467
+ /// The size of the info needs to be dynamically queried.
1468
1468
UR_PLATFORM_INFO_PROFILE = 5,
1469
1469
/// [::ur_platform_backend_t] The backend of the platform. Identifies the
1470
1470
/// native backend adapter implementing this platform.
@@ -1976,7 +1976,7 @@ typedef enum ur_device_info_t {
1976
1976
/// [uint64_t] max memory allocation size
1977
1977
UR_DEVICE_INFO_MAX_MEM_ALLOC_SIZE = 28,
1978
1978
/// [::ur_bool_t] images are supported
1979
- UR_DEVICE_INFO_IMAGE_SUPPORTED = 29,
1979
+ UR_DEVICE_INFO_IMAGE_SUPPORT = 29,
1980
1980
/// [uint32_t] max number of image objects arguments of a kernel declared
1981
1981
/// with the read_only qualifier
1982
1982
UR_DEVICE_INFO_MAX_READ_IMAGE_ARGS = 30,
@@ -2046,7 +2046,8 @@ typedef enum ur_device_info_t {
2046
2046
UR_DEVICE_INFO_QUEUE_ON_DEVICE_PROPERTIES = 60,
2047
2047
/// [::ur_queue_flags_t] host queue property bit-field
2048
2048
UR_DEVICE_INFO_QUEUE_ON_HOST_PROPERTIES = 61,
2049
- /// [char[]] a semi-colon separated list of built-in kernels
2049
+ /// [char[]] a null-terminated semi-colon separated list of built-in
2050
+ /// kernels
2050
2051
UR_DEVICE_INFO_BUILT_IN_KERNELS = 62,
2051
2052
/// [::ur_platform_handle_t] the platform associated with the device
2052
2053
UR_DEVICE_INFO_PLATFORM = 63,
@@ -2055,21 +2056,22 @@ typedef enum ur_device_info_t {
2055
2056
/// It is unsuitable for general use in applications. This feature is
2056
2057
/// provided for identifying memory leaks.
2057
2058
UR_DEVICE_INFO_REFERENCE_COUNT = 64,
2058
- /// [char[]] IL version
2059
+ /// [char[]] null-terminated IL version
2059
2060
UR_DEVICE_INFO_IL_VERSION = 65,
2060
- /// [char[]] Device name
2061
+ /// [char[]] null-terminated device name
2061
2062
UR_DEVICE_INFO_NAME = 66,
2062
- /// [char[]] Device vendor
2063
+ /// [char[]] null-terminated device vendor
2063
2064
UR_DEVICE_INFO_VENDOR = 67,
2064
- /// [char[]] Driver version
2065
+ /// [char[]] null-terminated driver version
2065
2066
UR_DEVICE_INFO_DRIVER_VERSION = 68,
2066
- /// [char[]] Device profile
2067
+ /// [char[]] null-terminated device profile
2067
2068
UR_DEVICE_INFO_PROFILE = 69,
2068
- /// [char[]] Device version
2069
+ /// [char[]] null-terminated device version
2069
2070
UR_DEVICE_INFO_VERSION = 70,
2070
- /// [char[]] Version of backend runtime
2071
+ /// [char[]] null-terminated version of backend runtime
2071
2072
UR_DEVICE_INFO_BACKEND_RUNTIME_VERSION = 71,
2072
- /// [char[]] Return a space separated list of extension names
2073
+ /// [char[]] Return a null-terminated space separated list of extension
2074
+ /// names
2073
2075
UR_DEVICE_INFO_EXTENSIONS = 72,
2074
2076
/// [size_t] Maximum size in bytes of internal printf buffer
2075
2077
UR_DEVICE_INFO_PRINTF_BUFFER_SIZE = 73,
@@ -2089,9 +2091,8 @@ typedef enum ur_device_info_t {
2089
2091
/// If the device does not support any affinity domains, then 0 will be
2090
2092
/// returned.
2091
2093
UR_DEVICE_INFO_PARTITION_AFFINITY_DOMAIN = 78,
2092
- /// [::ur_device_partition_property_t[]] return an array of
2093
- /// ::ur_device_partition_property_t for properties specified in
2094
- /// ::urDevicePartition
2094
+ /// [::ur_device_partition_property_t[]] returns an array of properties
2095
+ /// specified in ::urDevicePartition
2095
2096
UR_DEVICE_INFO_PARTITION_TYPE = 79,
2096
2097
/// [uint32_t] max number of sub groups
2097
2098
UR_DEVICE_INFO_MAX_NUM_SUB_GROUPS = 80,
@@ -2116,7 +2117,7 @@ typedef enum ur_device_info_t {
2116
2117
UR_DEVICE_INFO_USM_SYSTEM_SHARED_SUPPORT = 87,
2117
2118
/// [uint8_t[]][optional-query] return device UUID
2118
2119
UR_DEVICE_INFO_UUID = 88,
2119
- /// [char[]][optional-query] return device PCI address
2120
+ /// [char[]][optional-query] return null-terminated device PCI address
2120
2121
UR_DEVICE_INFO_PCI_ADDRESS = 89,
2121
2122
/// [uint32_t][optional-query] return Intel GPU EU count
2122
2123
UR_DEVICE_INFO_GPU_EU_COUNT = 90,
@@ -2172,7 +2173,7 @@ typedef enum ur_device_info_t {
2172
2173
UR_DEVICE_INFO_MEM_CHANNEL_SUPPORT = 110,
2173
2174
/// [::ur_bool_t] Return true if the device supports enqueueing commands
2174
2175
/// to read and write pipes from the host.
2175
- UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORTED = 111,
2176
+ UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORT = 111,
2176
2177
/// [uint32_t][optional-query] The maximum number of registers available
2177
2178
/// per block.
2178
2179
UR_DEVICE_INFO_MAX_REGISTERS_PER_WORK_GROUP = 112,
@@ -2211,7 +2212,7 @@ typedef enum ur_device_info_t {
2211
2212
/// for command synchronization outside of a command-buffer.
2212
2213
UR_DEVICE_INFO_COMMAND_BUFFER_EVENT_SUPPORT_EXP = 0x1002,
2213
2214
/// [::ur_bool_t] return true if enqueue Cluster Launch is supported
2214
- UR_DEVICE_INFO_CLUSTER_LAUNCH_EXP = 0x1111,
2215
+ UR_DEVICE_INFO_CLUSTER_LAUNCH_SUPPORT_EXP = 0x1111,
2215
2216
/// [::ur_bool_t] returns true if the device supports the creation of
2216
2217
/// bindless images
2217
2218
UR_DEVICE_INFO_BINDLESS_IMAGES_SUPPORT_EXP = 0x2000,
@@ -2227,14 +2228,14 @@ typedef enum ur_device_info_t {
2227
2228
/// [uint32_t] returns the required alignment of the pitch between two
2228
2229
/// rows of an image in bytes
2229
2230
UR_DEVICE_INFO_IMAGE_PITCH_ALIGN_EXP = 0x2004,
2230
- /// [size_t ] returns the maximum linear width allowed for images allocated
2231
- /// using USM
2231
+ /// [uint32_t ] returns the maximum linear width allowed for images
2232
+ /// allocated using USM
2232
2233
UR_DEVICE_INFO_MAX_IMAGE_LINEAR_WIDTH_EXP = 0x2005,
2233
- /// [size_t ] returns the maximum linear height allowed for images
2234
+ /// [uint32_t ] returns the maximum linear height allowed for images
2234
2235
/// allocated using USM
2235
2236
UR_DEVICE_INFO_MAX_IMAGE_LINEAR_HEIGHT_EXP = 0x2006,
2236
- /// [size_t ] returns the maximum linear pitch allowed for images allocated
2237
- /// using USM
2237
+ /// [uint32_t ] returns the maximum linear pitch allowed for images
2238
+ /// allocated using USM
2238
2239
UR_DEVICE_INFO_MAX_IMAGE_LINEAR_PITCH_EXP = 0x2007,
2239
2240
/// [::ur_bool_t] returns true if the device supports allocating mipmap
2240
2241
/// resources
@@ -2260,40 +2261,40 @@ typedef enum ur_device_info_t {
2260
2261
/// [::ur_bool_t] returns true if the device supports sampling cubemapped
2261
2262
/// images across face boundaries
2262
2263
UR_DEVICE_INFO_CUBEMAP_SEAMLESS_FILTERING_SUPPORT_EXP = 0x2011,
2263
- /// [::ur_bool_t] returns true if the device is capable of fetching USM
2264
+ /// [::ur_bool_t] returns true if the device supports fetching USM backed
2265
+ /// 1D sampled image data.
2266
+ UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_SUPPORT_EXP = 0x2012,
2267
+ /// [::ur_bool_t] returns true if the device supports fetching non-USM
2264
2268
/// backed 1D sampled image data.
2265
- UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_EXP = 0x2012 ,
2266
- /// [::ur_bool_t] returns true if the device is capable of fetching
2267
- /// non-USM backed 1D sampled image data.
2268
- UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_EXP = 0x2013 ,
2269
- /// [::ur_bool_t] returns true if the device is capable of fetching USM
2269
+ UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_SUPPORT_EXP = 0x2013 ,
2270
+ /// [::ur_bool_t] returns true if the device supports fetching USM backed
2271
+ /// 2D sampled image data.
2272
+ UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_SUPPORT_EXP = 0x2014 ,
2273
+ /// [::ur_bool_t] returns true if the device supports fetching non- USM
2270
2274
/// backed 2D sampled image data.
2271
- UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_EXP = 0x2014,
2272
- /// [::ur_bool_t] returns true if the device is capable of fetching
2273
- /// non-USM backed 2D sampled image data.
2274
- UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_EXP = 0x2015,
2275
- /// [::ur_bool_t] returns true if the device is capable of fetching
2276
- /// non-USM backed 3D sampled image data.
2277
- UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_EXP = 0x2017,
2275
+ UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_SUPPORT_EXP = 0x2015,
2276
+ /// [::ur_bool_t] returns true if the device supports fetching non-USM
2277
+ /// backed 3D sampled image data.
2278
+ UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_SUPPORT_EXP = 0x2017,
2278
2279
/// [::ur_bool_t] returns true if the device supports timestamp recording
2279
2280
UR_DEVICE_INFO_TIMESTAMP_RECORDING_SUPPORT_EXP = 0x2018,
2280
2281
/// [::ur_bool_t] returns true if the device supports allocating and
2281
2282
/// accessing image array resources.
2282
2283
UR_DEVICE_INFO_IMAGE_ARRAY_SUPPORT_EXP = 0x2019,
2283
2284
/// [::ur_bool_t] returns true if the device supports unique addressing
2284
2285
/// per dimension.
2285
- UR_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_EXP = 0x201A,
2286
- /// [::ur_bool_t] returns true if the device is capable of sampling USM
2287
- /// backed 1D sampled image data.
2288
- UR_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_EXP = 0x201B,
2289
- /// [::ur_bool_t] returns true if the device is capable of sampling USM
2290
- /// backed 2D sampled image data.
2291
- UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_EXP = 0x201C,
2286
+ UR_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_SUPPORT_EXP = 0x201A,
2287
+ /// [::ur_bool_t] returns true if the device supports sampling USM backed
2288
+ /// 1D sampled image data.
2289
+ UR_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_SUPPORT_EXP = 0x201B,
2290
+ /// [::ur_bool_t] returns true if the device supports sampling USM backed
2291
+ /// 2D sampled image data.
2292
+ UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_SUPPORT_EXP = 0x201C,
2292
2293
/// [::ur_bool_t] returns true if the device supports enqueueing of native
2293
2294
/// work
2294
2295
UR_DEVICE_INFO_ENQUEUE_NATIVE_COMMAND_SUPPORT_EXP = 0x2020,
2295
2296
/// [::ur_bool_t] returns true if the device supports low-power events.
2296
- UR_DEVICE_INFO_LOW_POWER_EVENTS_EXP = 0x2021,
2297
+ UR_DEVICE_INFO_LOW_POWER_EVENTS_SUPPORT_EXP = 0x2021,
2297
2298
/// [::ur_exp_device_2d_block_array_capability_flags_t] return a bit-field
2298
2299
/// of Intel GPU 2D block array capabilities
2299
2300
UR_DEVICE_INFO_2D_BLOCK_ARRAY_CAPABILITIES_EXP = 0x2022,
@@ -5571,14 +5572,14 @@ typedef enum ur_program_info_t {
5571
5572
/// subset of those devices when the program is created using
5572
5573
/// ::urProgramCreateWithBinary.
5573
5574
UR_PROGRAM_INFO_DEVICES = 3,
5574
- /// [char[]] Return program IL if the program was created with
5575
- /// ::urProgramCreateWithIL, otherwise return size will be set to 0 and
5576
- /// nothing will be returned.
5575
+ /// [char[]] Return null-terminated program IL if the program was created
5576
+ /// with ::urProgramCreateWithIL, otherwise return size will be set to 0
5577
+ /// and nothing will be returned.
5577
5578
UR_PROGRAM_INFO_IL = 4,
5578
5579
/// [size_t[]] Return program binary sizes for each device.
5579
5580
UR_PROGRAM_INFO_BINARY_SIZES = 5,
5580
- /// [unsigned char[]] Return program binaries for all devices for this
5581
- /// Program.
5581
+ /// [unsigned char[]] Return null-terminated program binaries for all
5582
+ /// devices for this Program.
5582
5583
UR_PROGRAM_INFO_BINARIES = 6,
5583
5584
/// [size_t][optional-query] Number of kernels in Program, return type
5584
5585
/// size_t.
@@ -6647,7 +6648,7 @@ typedef enum ur_queue_flag_t {
6647
6648
/// implementation may use interrupt-driven events. May reduce CPU
6648
6649
/// utilization at the cost of increased event completion latency. Other
6649
6650
/// platforms may ignore this flag.
6650
- UR_QUEUE_FLAG_LOW_POWER_EVENTS_EXP = UR_BIT(11),
6651
+ UR_QUEUE_FLAG_LOW_POWER_EVENTS_SUPPORT_EXP = UR_BIT(11),
6651
6652
/// @cond
6652
6653
UR_QUEUE_FLAG_FORCE_UINT32 = 0x7fffffff
6653
6654
/// @endcond
@@ -11805,10 +11806,10 @@ UR_APIEXPORT ur_result_t UR_APICALL urUSMReleaseExp(
11805
11806
typedef enum ur_exp_peer_info_t {
11806
11807
/// [int] 1 if P2P access is supported otherwise P2P access is not
11807
11808
/// supported.
11808
- UR_EXP_PEER_INFO_UR_PEER_ACCESS_SUPPORTED = 0,
11809
+ UR_EXP_PEER_INFO_UR_PEER_ACCESS_SUPPORT = 0,
11809
11810
/// [int] 1 if atomic operations are supported over the P2P link,
11810
11811
/// otherwise such operations are not supported.
11811
- UR_EXP_PEER_INFO_UR_PEER_ATOMICS_SUPPORTED = 1,
11812
+ UR_EXP_PEER_INFO_UR_PEER_ATOMICS_SUPPORT = 1,
11812
11813
/// @cond
11813
11814
UR_EXP_PEER_INFO_FORCE_UINT32 = 0x7fffffff
11814
11815
/// @endcond
@@ -11918,7 +11919,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urUsmP2PDisablePeerAccessExp(
11918
11919
/// + `NULL == commandDevice`
11919
11920
/// + `NULL == peerDevice`
11920
11921
/// - ::UR_RESULT_ERROR_INVALID_ENUMERATION
11921
- /// + `::UR_EXP_PEER_INFO_UR_PEER_ATOMICS_SUPPORTED < propName`
11922
+ /// + `::UR_EXP_PEER_INFO_UR_PEER_ATOMICS_SUPPORT < propName`
11922
11923
/// - ::UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION
11923
11924
/// + If `propName` is not supported by the adapter.
11924
11925
/// - ::UR_RESULT_ERROR_INVALID_SIZE
0 commit comments