File tree 3 files changed +7
-12
lines changed
3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -903,10 +903,9 @@ class ur_usm_pool_limits_desc_t(Structure):
903
903
("stype" , ur_structure_type_t ), ## [in] type of this structure, must be
904
904
## ::UR_STRUCTURE_TYPE_USM_POOL_LIMITS_DESC
905
905
("pNext" , c_void_p ), ## [in][optional] pointer to extension-specific structure
906
- ("maxPoolSize " , c_size_t ), ## [in] Maximum size of a memory pool
906
+ ("maxUnfreedMemory " , c_size_t ), ## [in] Maximum amount of free memory kept in the pool
907
907
("maxPoolableSize" , c_size_t ), ## [in] Allocations up to this limit will be subject to pooling
908
- ("capacity" , c_size_t ), ## [in] When pooling, each bucket will hold a max of 4 unfreed slabs
909
- ("slabMinSize" , c_size_t ) ## [in] Minimum allocation size that will be requested from the driver
908
+ ("minDriverAllocSize" , c_size_t ) ## [in] Minimum allocation size that will be requested from the driver
910
909
]
911
910
912
911
###############################################################################
Original file line number Diff line number Diff line change @@ -2081,10 +2081,9 @@ typedef struct ur_usm_pool_limits_desc_t {
2081
2081
ur_structure_type_t stype ; ///< [in] type of this structure, must be
2082
2082
///< ::UR_STRUCTURE_TYPE_USM_POOL_LIMITS_DESC
2083
2083
const void * pNext ; ///< [in][optional] pointer to extension-specific structure
2084
- size_t maxPoolSize ; ///< [in] Maximum size of a memory pool
2084
+ size_t maxUnfreedMemory ; ///< [in] Maximum amount of free memory kept in the pool
2085
2085
size_t maxPoolableSize ; ///< [in] Allocations up to this limit will be subject to pooling
2086
- size_t capacity ; ///< [in] When pooling, each bucket will hold a max of 4 unfreed slabs
2087
- size_t slabMinSize ; ///< [in] Minimum allocation size that will be requested from the driver
2086
+ size_t minDriverAllocSize ; ///< [in] Minimum allocation size that will be requested from the driver
2088
2087
2089
2088
} ur_usm_pool_limits_desc_t ;
2090
2089
Original file line number Diff line number Diff line change @@ -130,16 +130,13 @@ name: $x_usm_pool_limits_desc_t
130
130
base : $x_base_desc_t
131
131
members :
132
132
- type : " size_t"
133
- name : maxPoolSize
134
- desc : " [in] Maximum size of a memory pool"
133
+ name : maxUnfreedMemory
134
+ desc : " [in] Maximum amount of free memory kept in the pool"
135
135
- type : " size_t"
136
136
name : maxPoolableSize
137
137
desc : " [in] Allocations up to this limit will be subject to pooling"
138
138
- type : " size_t"
139
- name : capacity
140
- desc : " [in] When pooling, each bucket will hold a max of 4 unfreed slabs"
141
- - type : " size_t"
142
- name : slabMinSize
139
+ name : minDriverAllocSize
143
140
desc : " [in] Minimum allocation size that will be requested from the driver"
144
141
--- # --------------------------------------------------------------------------
145
142
type : function
You can’t perform that action at this time.
0 commit comments