Skip to content

Commit

Permalink
[ur] remove non-generic ur_usm_pool_limits_desc_t
Browse files Browse the repository at this point in the history
parameters. Ref: oneapi-src#369
  • Loading branch information
igchor committed Mar 23, 2023
1 parent 7dd41b0 commit 096685e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions include/ur.py
Original file line number Diff line number Diff line change
Expand Up @@ -1051,9 +1051,7 @@ class ur_usm_pool_limits_desc_t(Structure):
("stype", ur_structure_type_t), ## [in] type of this structure, must be
## ::UR_STRUCTURE_TYPE_USM_POOL_LIMITS_DESC
("pNext", c_void_p), ## [in][optional] pointer to extension-specific structure
("maxPoolSize", c_size_t), ## [in] Maximum size of a memory pool
("maxPoolableSize", c_size_t), ## [in] Allocations up to this limit will be subject to pooling
("capacity", c_size_t), ## [in] When pooling, each bucket will hold a max of 4 unfreed slabs
("slabMinSize", c_size_t) ## [in] Minimum allocation size that will be requested from the driver
]

Expand Down
2 changes: 0 additions & 2 deletions include/ur_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -2257,9 +2257,7 @@ typedef struct ur_usm_pool_limits_desc_t {
ur_structure_type_t stype; ///< [in] type of this structure, must be
///< ::UR_STRUCTURE_TYPE_USM_POOL_LIMITS_DESC
const void *pNext; ///< [in][optional] pointer to extension-specific structure
size_t maxPoolSize; ///< [in] Maximum size of a memory pool
size_t maxPoolableSize; ///< [in] Allocations up to this limit will be subject to pooling
size_t capacity; ///< [in] When pooling, each bucket will hold a max of 4 unfreed slabs
size_t slabMinSize; ///< [in] Minimum allocation size that will be requested from the driver

} ur_usm_pool_limits_desc_t;
Expand Down
6 changes: 0 additions & 6 deletions scripts/core/usm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,9 @@ class: $xUSM
name: $x_usm_pool_limits_desc_t
base: $x_base_desc_t
members:
- type: "size_t"
name: maxPoolSize
desc: "[in] Maximum size of a memory pool"
- type: "size_t"
name: maxPoolableSize
desc: "[in] Allocations up to this limit will be subject to pooling"
- type: "size_t"
name: capacity
desc: "[in] When pooling, each bucket will hold a max of 4 unfreed slabs"
- type: "size_t"
name: slabMinSize
desc: "[in] Minimum allocation size that will be requested from the driver"
Expand Down

0 comments on commit 096685e

Please sign in to comment.