diff --git a/include/ze.py b/include/ze.py index e556b540..3804d982 100644 --- a/include/ze.py +++ b/include/ze.py @@ -4,7 +4,7 @@ SPDX-License-Identifier: MIT @file ze.py - @version v1.9-r1.9.1 + @version v1.9-r1.9.3 """ import platform @@ -560,7 +560,7 @@ class ze_device_properties_t(Structure): ## structure (i.e. contains stype and pNext). ("type", ze_device_type_t), ## [out] generic device type ("vendorId", c_ulong), ## [out] vendor id from PCI configuration - ("deviceId", c_ulong), ## [out] device id from PCI configuration + ("deviceId", c_ulong), ## [out] device id from PCI configuration. ## Note, the device id uses little-endian format. ("flags", ze_device_property_flags_t), ## [out] 0 (none) or a valid combination of ::ze_device_property_flag_t ("subdeviceId", c_ulong), ## [out] sub-device id. Only valid if ::ZE_DEVICE_PROPERTY_FLAG_SUBDEVICE @@ -1243,6 +1243,9 @@ class ze_image_format_layout_v(IntEnum): _444P = 40 ## Media Format: 444P. Format type and swizzle is ignored for this. RGBP = 41 ## Media Format: RGBP. Format type and swizzle is ignored for this. BRGP = 42 ## Media Format: BRGP. Format type and swizzle is ignored for this. + _8_8_8 = 43 ## 3-component 8-bit layout + _16_16_16 = 44 ## 3-component 16-bit layout + _32_32_32 = 45 ## 3-component 32-bit layout class ze_image_format_layout_t(c_int): def __str__(self): @@ -3722,6 +3725,9 @@ def __str__(self): class ze_image_bindless_exp_flags_v(IntEnum): BINDLESS = ZE_BIT(0) ## Bindless images are created with ::zeImageCreate. The image handle ## created with this flag is valid on both host and device. + SAMPLED_IMAGE = ZE_BIT(1) ## Bindless sampled images are created with ::zeImageCreate by combining + ## BINDLESS and SAMPLED_IMAGE. + ## Create sampled image view from bindless unsampled image using SAMPLED_IMAGE. class ze_image_bindless_exp_flags_t(c_int): def __str__(self): @@ -3743,6 +3749,8 @@ class ze_image_bindless_exp_desc_t(Structure): ## When the flag is passed to ::zeImageCreate, then only the memory for ## the image is allocated. ## Additional image handles can be created with ::zeImageViewCreateExt. + ## When ::ZE_IMAGE_BINDLESS_EXP_FLAG_SAMPLED_IMAGE flag is passed, + ## ::ze_sampler_desc_t must be attached via pNext member of ::ze_image_bindless_exp_desc_t. ] ############################################################################### diff --git a/include/ze_api.h b/include/ze_api.h index c1b68c0f..2f59f4bb 100644 --- a/include/ze_api.h +++ b/include/ze_api.h @@ -5,7 +5,7 @@ * SPDX-License-Identifier: MIT * * @file ze_api.h - * @version v1.9-r1.9.1 + * @version v1.9-r1.9.3 * */ #ifndef _ZE_API_H @@ -1443,7 +1443,7 @@ typedef struct _ze_device_properties_t ///< structure (i.e. contains stype and pNext). ze_device_type_t type; ///< [out] generic device type uint32_t vendorId; ///< [out] vendor id from PCI configuration - uint32_t deviceId; ///< [out] device id from PCI configuration + uint32_t deviceId; ///< [out] device id from PCI configuration. ///< Note, the device id uses little-endian format. ze_device_property_flags_t flags; ///< [out] 0 (none) or a valid combination of ::ze_device_property_flag_t uint32_t subdeviceId; ///< [out] sub-device id. Only valid if ::ZE_DEVICE_PROPERTY_FLAG_SUBDEVICE @@ -4697,6 +4697,9 @@ typedef enum _ze_image_format_layout_t ZE_IMAGE_FORMAT_LAYOUT_444P = 40, ///< Media Format: 444P. Format type and swizzle is ignored for this. ZE_IMAGE_FORMAT_LAYOUT_RGBP = 41, ///< Media Format: RGBP. Format type and swizzle is ignored for this. ZE_IMAGE_FORMAT_LAYOUT_BRGP = 42, ///< Media Format: BRGP. Format type and swizzle is ignored for this. + ZE_IMAGE_FORMAT_LAYOUT_8_8_8 = 43, ///< 3-component 8-bit layout + ZE_IMAGE_FORMAT_LAYOUT_16_16_16 = 44, ///< 3-component 16-bit layout + ZE_IMAGE_FORMAT_LAYOUT_32_32_32 = 45, ///< 3-component 32-bit layout ZE_IMAGE_FORMAT_LAYOUT_FORCE_UINT32 = 0x7fffffff } ze_image_format_layout_t; @@ -10545,6 +10548,9 @@ typedef enum _ze_image_bindless_exp_flag_t { ZE_IMAGE_BINDLESS_EXP_FLAG_BINDLESS = ZE_BIT(0), ///< Bindless images are created with ::zeImageCreate. The image handle ///< created with this flag is valid on both host and device. + ZE_IMAGE_BINDLESS_EXP_FLAG_SAMPLED_IMAGE = ZE_BIT(1), ///< Bindless sampled images are created with ::zeImageCreate by combining + ///< BINDLESS and SAMPLED_IMAGE. + ///< Create sampled image view from bindless unsampled image using SAMPLED_IMAGE. ZE_IMAGE_BINDLESS_EXP_FLAG_FORCE_UINT32 = 0x7fffffff } ze_image_bindless_exp_flag_t; @@ -10564,6 +10570,8 @@ typedef struct _ze_image_bindless_exp_desc_t ///< When the flag is passed to ::zeImageCreate, then only the memory for ///< the image is allocated. ///< Additional image handles can be created with ::zeImageViewCreateExt. + ///< When ::ZE_IMAGE_BINDLESS_EXP_FLAG_SAMPLED_IMAGE flag is passed, + ///< ::ze_sampler_desc_t must be attached via pNext member of ::ze_image_bindless_exp_desc_t. } ze_image_bindless_exp_desc_t; diff --git a/include/ze_ddi.h b/include/ze_ddi.h index 2724cb40..952cdb03 100644 --- a/include/ze_ddi.h +++ b/include/ze_ddi.h @@ -5,7 +5,7 @@ * SPDX-License-Identifier: MIT * * @file ze_ddi.h - * @version v1.9-r1.9.1 + * @version v1.9-r1.9.3 * */ #ifndef _ZE_DDI_H diff --git a/include/zes.py b/include/zes.py index d865cd7a..de70c2da 100644 --- a/include/zes.py +++ b/include/zes.py @@ -4,7 +4,7 @@ SPDX-License-Identifier: MIT @file zes.py - @version v1.9-r1.9.1 + @version v1.9-r1.9.3 """ import platform diff --git a/include/zes_api.h b/include/zes_api.h index e22a2cde..2c7c5986 100644 --- a/include/zes_api.h +++ b/include/zes_api.h @@ -5,7 +5,7 @@ * SPDX-License-Identifier: MIT * * @file zes_api.h - * @version v1.9-r1.9.1 + * @version v1.9-r1.9.3 * */ #ifndef _ZES_API_H diff --git a/include/zes_ddi.h b/include/zes_ddi.h index ad270daf..a33e838f 100644 --- a/include/zes_ddi.h +++ b/include/zes_ddi.h @@ -5,7 +5,7 @@ * SPDX-License-Identifier: MIT * * @file zes_ddi.h - * @version v1.9-r1.9.1 + * @version v1.9-r1.9.3 * */ #ifndef _ZES_DDI_H diff --git a/include/zet.py b/include/zet.py index cf317821..ea50200f 100644 --- a/include/zet.py +++ b/include/zet.py @@ -4,7 +4,7 @@ SPDX-License-Identifier: MIT @file zet.py - @version v1.9-r1.9.1 + @version v1.9-r1.9.3 """ import platform diff --git a/include/zet_api.h b/include/zet_api.h index a3029702..a202fde6 100644 --- a/include/zet_api.h +++ b/include/zet_api.h @@ -5,7 +5,7 @@ * SPDX-License-Identifier: MIT * * @file zet_api.h - * @version v1.9-r1.9.1 + * @version v1.9-r1.9.3 * */ #ifndef _ZET_API_H diff --git a/include/zet_ddi.h b/include/zet_ddi.h index fab1a041..876df64a 100644 --- a/include/zet_ddi.h +++ b/include/zet_ddi.h @@ -5,7 +5,7 @@ * SPDX-License-Identifier: MIT * * @file zet_ddi.h - * @version v1.9-r1.9.1 + * @version v1.9-r1.9.3 * */ #ifndef _ZET_DDI_H