Skip to content

Commit

Permalink
Remove line suggesting USM alloc must support pools.
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongreig committed Oct 30, 2024
1 parent 8984c1c commit a0cf2ce
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions include/ur_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -3506,7 +3506,6 @@ typedef struct ur_usm_pool_limits_desc_t {
/// @brief USM allocate host memory
///
/// @details
/// - This function must support memory pooling.
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
/// will be served from a specified memory pool.
/// - Otherwise, the behavior is implementation-defined.
Expand Down Expand Up @@ -3554,7 +3553,6 @@ urUSMHostAlloc(
/// @brief USM allocate device memory
///
/// @details
/// - This function must support memory pooling.
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
/// will be served from a specified memory pool.
/// - Otherwise, the behavior is implementation-defined.
Expand Down Expand Up @@ -3604,7 +3602,6 @@ urUSMDeviceAlloc(
/// @brief USM allocate shared memory
///
/// @details
/// - This function must support memory pooling.
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
/// will be served from a specified memory pool.
/// - Otherwise, the behavior is implementation-defined.
Expand Down
3 changes: 0 additions & 3 deletions scripts/core/usm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ class: $xUSM
name: HostAlloc
ordinal: "0"
details:
- "This function must support memory pooling."
- "If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation will be served from a specified memory pool."
- "Otherwise, the behavior is implementation-defined."
- "Allocations served from different memory pools must be isolated and must not reside on the same page."
Expand Down Expand Up @@ -273,7 +272,6 @@ class: $xUSM
name: DeviceAlloc
ordinal: "0"
details:
- "This function must support memory pooling."
- "If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation will be served from a specified memory pool."
- "Otherwise, the behavior is implementation-defined."
- "Allocations served from different memory pools must be isolated and must not reside on the same page."
Expand Down Expand Up @@ -320,7 +318,6 @@ class: $xUSM
name: SharedAlloc
ordinal: "0"
details:
- "This function must support memory pooling."
- "If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation will be served from a specified memory pool."
- "Otherwise, the behavior is implementation-defined."
- "Allocations served from different memory pools must be isolated and must not reside on the same page."
Expand Down
3 changes: 0 additions & 3 deletions source/loader/ur_libapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2225,7 +2225,6 @@ ur_result_t UR_APICALL urSamplerCreateWithNativeHandle(
/// @brief USM allocate host memory
///
/// @details
/// - This function must support memory pooling.
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
/// will be served from a specified memory pool.
/// - Otherwise, the behavior is implementation-defined.
Expand Down Expand Up @@ -2284,7 +2283,6 @@ ur_result_t UR_APICALL urUSMHostAlloc(
/// @brief USM allocate device memory
///
/// @details
/// - This function must support memory pooling.
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
/// will be served from a specified memory pool.
/// - Otherwise, the behavior is implementation-defined.
Expand Down Expand Up @@ -2345,7 +2343,6 @@ ur_result_t UR_APICALL urUSMDeviceAlloc(
/// @brief USM allocate shared memory
///
/// @details
/// - This function must support memory pooling.
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
/// will be served from a specified memory pool.
/// - Otherwise, the behavior is implementation-defined.
Expand Down
3 changes: 0 additions & 3 deletions source/ur_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,6 @@ ur_result_t UR_APICALL urSamplerCreateWithNativeHandle(
/// @brief USM allocate host memory
///
/// @details
/// - This function must support memory pooling.
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
/// will be served from a specified memory pool.
/// - Otherwise, the behavior is implementation-defined.
Expand Down Expand Up @@ -1972,7 +1971,6 @@ ur_result_t UR_APICALL urUSMHostAlloc(
/// @brief USM allocate device memory
///
/// @details
/// - This function must support memory pooling.
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
/// will be served from a specified memory pool.
/// - Otherwise, the behavior is implementation-defined.
Expand Down Expand Up @@ -2027,7 +2025,6 @@ ur_result_t UR_APICALL urUSMDeviceAlloc(
/// @brief USM allocate shared memory
///
/// @details
/// - This function must support memory pooling.
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
/// will be served from a specified memory pool.
/// - Otherwise, the behavior is implementation-defined.
Expand Down

0 comments on commit a0cf2ce

Please sign in to comment.