Skip to content

Commit bf24ee3

Browse files
committed
Remove line suggesting USM alloc must support pools.
1 parent 8af747d commit bf24ee3

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

include/ur_api.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3506,7 +3506,6 @@ typedef struct ur_usm_pool_limits_desc_t {
35063506
/// @brief USM allocate host memory
35073507
///
35083508
/// @details
3509-
/// - This function must support memory pooling.
35103509
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
35113510
/// will be served from a specified memory pool.
35123511
/// - Otherwise, the behavior is implementation-defined.
@@ -3554,7 +3553,6 @@ urUSMHostAlloc(
35543553
/// @brief USM allocate device memory
35553554
///
35563555
/// @details
3557-
/// - This function must support memory pooling.
35583556
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
35593557
/// will be served from a specified memory pool.
35603558
/// - Otherwise, the behavior is implementation-defined.
@@ -3604,7 +3602,6 @@ urUSMDeviceAlloc(
36043602
/// @brief USM allocate shared memory
36053603
///
36063604
/// @details
3607-
/// - This function must support memory pooling.
36083605
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
36093606
/// will be served from a specified memory pool.
36103607
/// - Otherwise, the behavior is implementation-defined.

scripts/core/usm.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ class: $xUSM
229229
name: HostAlloc
230230
ordinal: "0"
231231
details:
232-
- "This function must support memory pooling."
233232
- "If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation will be served from a specified memory pool."
234233
- "Otherwise, the behavior is implementation-defined."
235234
- "Allocations served from different memory pools must be isolated and must not reside on the same page."
@@ -273,7 +272,6 @@ class: $xUSM
273272
name: DeviceAlloc
274273
ordinal: "0"
275274
details:
276-
- "This function must support memory pooling."
277275
- "If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation will be served from a specified memory pool."
278276
- "Otherwise, the behavior is implementation-defined."
279277
- "Allocations served from different memory pools must be isolated and must not reside on the same page."
@@ -320,7 +318,6 @@ class: $xUSM
320318
name: SharedAlloc
321319
ordinal: "0"
322320
details:
323-
- "This function must support memory pooling."
324321
- "If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation will be served from a specified memory pool."
325322
- "Otherwise, the behavior is implementation-defined."
326323
- "Allocations served from different memory pools must be isolated and must not reside on the same page."

source/loader/ur_libapi.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,7 +2225,6 @@ ur_result_t UR_APICALL urSamplerCreateWithNativeHandle(
22252225
/// @brief USM allocate host memory
22262226
///
22272227
/// @details
2228-
/// - This function must support memory pooling.
22292228
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
22302229
/// will be served from a specified memory pool.
22312230
/// - Otherwise, the behavior is implementation-defined.
@@ -2284,7 +2283,6 @@ ur_result_t UR_APICALL urUSMHostAlloc(
22842283
/// @brief USM allocate device memory
22852284
///
22862285
/// @details
2287-
/// - This function must support memory pooling.
22882286
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
22892287
/// will be served from a specified memory pool.
22902288
/// - Otherwise, the behavior is implementation-defined.
@@ -2345,7 +2343,6 @@ ur_result_t UR_APICALL urUSMDeviceAlloc(
23452343
/// @brief USM allocate shared memory
23462344
///
23472345
/// @details
2348-
/// - This function must support memory pooling.
23492346
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
23502347
/// will be served from a specified memory pool.
23512348
/// - Otherwise, the behavior is implementation-defined.

source/ur_api.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,6 @@ ur_result_t UR_APICALL urSamplerCreateWithNativeHandle(
19191919
/// @brief USM allocate host memory
19201920
///
19211921
/// @details
1922-
/// - This function must support memory pooling.
19231922
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
19241923
/// will be served from a specified memory pool.
19251924
/// - Otherwise, the behavior is implementation-defined.
@@ -1972,7 +1971,6 @@ ur_result_t UR_APICALL urUSMHostAlloc(
19721971
/// @brief USM allocate device memory
19731972
///
19741973
/// @details
1975-
/// - This function must support memory pooling.
19761974
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
19771975
/// will be served from a specified memory pool.
19781976
/// - Otherwise, the behavior is implementation-defined.
@@ -2027,7 +2025,6 @@ ur_result_t UR_APICALL urUSMDeviceAlloc(
20272025
/// @brief USM allocate shared memory
20282026
///
20292027
/// @details
2030-
/// - This function must support memory pooling.
20312028
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
20322029
/// will be served from a specified memory pool.
20332030
/// - Otherwise, the behavior is implementation-defined.

0 commit comments

Comments
 (0)