mirror of
https://github.com/fumiama/gozel.git
synced 2026-06-12 04:20:28 +08:00
chore: run go generate
This commit is contained in:
committed by
GitHub
parent
bfda7d76f3
commit
32abd8ea7c
@@ -22,36 +22,37 @@ const ZE_RELAXED_ALLOCATION_LIMITS_EXP_NAME = "ZE_experimental_relaxed_allocatio
|
||||
|
||||
// ZeRelaxedAllocationLimitsExpVersion (ze_relaxed_allocation_limits_exp_version_t) Relaxed Allocation Limits Extension Version(s)
|
||||
type ZeRelaxedAllocationLimitsExpVersion uintptr
|
||||
|
||||
const (
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_1_0 ZeRelaxedAllocationLimitsExpVersion = /* ZE_MAKE_VERSION( 1, 0 ) */((( 1 << 16 )|( 0 & 0x0000ffff))) // ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_1_0 version 1.0
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_CURRENT ZeRelaxedAllocationLimitsExpVersion = /* ZE_MAKE_VERSION( 1, 0 ) */((( 1 << 16 )|( 0 & 0x0000ffff))) // ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_CURRENT latest known version
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_FORCE_UINT32 ZeRelaxedAllocationLimitsExpVersion = 0x7fffffff // ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_FORCE_UINT32 Value marking end of ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_* ENUMs
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_1_0 ZeRelaxedAllocationLimitsExpVersion = /* ZE_MAKE_VERSION( 1, 0 ) */ ((1 << 16) | (0 & 0x0000ffff)) // ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_1_0 version 1.0
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_CURRENT ZeRelaxedAllocationLimitsExpVersion = /* ZE_MAKE_VERSION( 1, 0 ) */ ((1 << 16) | (0 & 0x0000ffff)) // ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_CURRENT latest known version
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_FORCE_UINT32 ZeRelaxedAllocationLimitsExpVersion = 0x7fffffff // ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_FORCE_UINT32 Value marking end of ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_* ENUMs
|
||||
|
||||
)
|
||||
|
||||
// ZeRelaxedAllocationLimitsExpFlags (ze_relaxed_allocation_limits_exp_flags_t) Supported relaxed memory allocation flags
|
||||
type ZeRelaxedAllocationLimitsExpFlags uint32
|
||||
|
||||
const (
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_MAX_SIZE ZeRelaxedAllocationLimitsExpFlags = /* ZE_BIT(0) */(( 1 << 0 )) // ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_MAX_SIZE Allocation size may exceed the `maxMemAllocSize` member of
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_MAX_SIZE ZeRelaxedAllocationLimitsExpFlags = /* ZE_BIT(0) */ (1 << 0) // ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_MAX_SIZE Allocation size may exceed the `maxMemAllocSize` member of
|
||||
|
||||
///< ::ZeDeviceProperties.
|
||||
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_FORCE_UINT32 ZeRelaxedAllocationLimitsExpFlags = 0x7fffffff // ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_FORCE_UINT32 Value marking end of ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_* ENUMs
|
||||
ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_FORCE_UINT32 ZeRelaxedAllocationLimitsExpFlags = 0x7fffffff // ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_FORCE_UINT32 Value marking end of ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_* ENUMs
|
||||
|
||||
)
|
||||
|
||||
// ZeRelaxedAllocationLimitsExpDesc (ze_relaxed_allocation_limits_exp_desc_t) Relaxed limits memory allocation descriptor
|
||||
///
|
||||
/// @details
|
||||
/// - This structure may be passed to ::zeMemAllocShared or
|
||||
/// ::zeMemAllocDevice, via the `pNext` member of
|
||||
/// ::ze_device_mem_alloc_desc_t.
|
||||
/// - This structure may also be passed to ::zeMemAllocHost, via the `pNext`
|
||||
/// member of ::ze_host_mem_alloc_desc_t.
|
||||
// /
|
||||
// / @details
|
||||
// / - This structure may be passed to ::zeMemAllocShared or
|
||||
// / ::zeMemAllocDevice, via the `pNext` member of
|
||||
// / ::ze_device_mem_alloc_desc_t.
|
||||
// / - This structure may also be passed to ::zeMemAllocHost, via the `pNext`
|
||||
// / member of ::ze_host_mem_alloc_desc_t.
|
||||
type ZeRelaxedAllocationLimitsExpDesc struct {
|
||||
Stype ZeStructureType // Stype [in] type of this structure
|
||||
Pnext unsafe.Pointer // Pnext [in][optional] must be null or a pointer to an extension-specific structure (i.e. contains stype and pNext).
|
||||
Flags ZeRelaxedAllocationLimitsExpFlags // Flags [in] flags specifying allocation limits to relax. must be 0 (default) or a valid combination of ::ze_relaxed_allocation_limits_exp_flag_t;
|
||||
Stype ZeStructureType // Stype [in] type of this structure
|
||||
Pnext unsafe.Pointer // Pnext [in][optional] must be null or a pointer to an extension-specific structure (i.e. contains stype and pNext).
|
||||
Flags ZeRelaxedAllocationLimitsExpFlags // Flags [in] flags specifying allocation limits to relax. must be 0 (default) or a valid combination of ::ze_relaxed_allocation_limits_exp_flag_t;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user