File tree 3 files changed +7
-10
lines changed
3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -905,8 +905,8 @@ class ur_usm_pool_limits_desc_t(Structure):
905
905
("pNext" , c_void_p ), ## [in][optional] pointer to extension-specific structure
906
906
("maxPoolSize" , c_size_t ), ## [in] Maximum size of a memory 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
+ ("bucketCapacity " , c_size_t ), ## [in] Maximum number of unfreed allocations in each bucket
909
+ ("minDriverAllocSize " , c_size_t ) ## [in] Minimum allocation size that will be requested from the driver
910
910
]
911
911
912
912
###############################################################################
Original file line number Diff line number Diff line change @@ -2083,8 +2083,8 @@ typedef struct ur_usm_pool_limits_desc_t {
2083
2083
const void * pNext ; ///< [in][optional] pointer to extension-specific structure
2084
2084
size_t maxPoolSize ; ///< [in] Maximum size of a memory 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 bucketCapacity ; ///< [in] Maximum number of unfreed allocations in each bucket
2087
+ size_t minDriverAllocSize ; ///< [in] Minimum allocation size that will be requested from the driver
2088
2088
2089
2089
} ur_usm_pool_limits_desc_t ;
2090
2090
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