Skip to content

Commit 89692a9

Browse files
committed
Remove line suggesting USM alloc must support pools.
1 parent 3fad80f commit 89692a9

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
@@ -3503,7 +3503,6 @@ typedef struct ur_usm_pool_limits_desc_t {
35033503
/// @brief USM allocate host memory
35043504
///
35053505
/// @details
3506-
/// - This function must support memory pooling.
35073506
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
35083507
/// will be served from a specified memory pool.
35093508
/// - Otherwise, the behavior is implementation-defined.
@@ -3551,7 +3550,6 @@ urUSMHostAlloc(
35513550
/// @brief USM allocate device memory
35523551
///
35533552
/// @details
3554-
/// - This function must support memory pooling.
35553553
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
35563554
/// will be served from a specified memory pool.
35573555
/// - Otherwise, the behavior is implementation-defined.
@@ -3601,7 +3599,6 @@ urUSMDeviceAlloc(
36013599
/// @brief USM allocate shared memory
36023600
///
36033601
/// @details
3604-
/// - This function must support memory pooling.
36053602
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
36063603
/// will be served from a specified memory pool.
36073604
/// - 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
@@ -2224,7 +2224,6 @@ ur_result_t UR_APICALL urSamplerCreateWithNativeHandle(
22242224
/// @brief USM allocate host memory
22252225
///
22262226
/// @details
2227-
/// - This function must support memory pooling.
22282227
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
22292228
/// will be served from a specified memory pool.
22302229
/// - Otherwise, the behavior is implementation-defined.
@@ -2283,7 +2282,6 @@ ur_result_t UR_APICALL urUSMHostAlloc(
22832282
/// @brief USM allocate device memory
22842283
///
22852284
/// @details
2286-
/// - This function must support memory pooling.
22872285
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
22882286
/// will be served from a specified memory pool.
22892287
/// - Otherwise, the behavior is implementation-defined.
@@ -2344,7 +2342,6 @@ ur_result_t UR_APICALL urUSMDeviceAlloc(
23442342
/// @brief USM allocate shared memory
23452343
///
23462344
/// @details
2347-
/// - This function must support memory pooling.
23482345
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
23492346
/// will be served from a specified memory pool.
23502347
/// - Otherwise, the behavior is implementation-defined.

source/ur_api.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1918,7 +1918,6 @@ ur_result_t UR_APICALL urSamplerCreateWithNativeHandle(
19181918
/// @brief USM allocate host memory
19191919
///
19201920
/// @details
1921-
/// - This function must support memory pooling.
19221921
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
19231922
/// will be served from a specified memory pool.
19241923
/// - Otherwise, the behavior is implementation-defined.
@@ -1971,7 +1970,6 @@ ur_result_t UR_APICALL urUSMHostAlloc(
19711970
/// @brief USM allocate device memory
19721971
///
19731972
/// @details
1974-
/// - This function must support memory pooling.
19751973
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
19761974
/// will be served from a specified memory pool.
19771975
/// - Otherwise, the behavior is implementation-defined.
@@ -2026,7 +2024,6 @@ ur_result_t UR_APICALL urUSMDeviceAlloc(
20262024
/// @brief USM allocate shared memory
20272025
///
20282026
/// @details
2029-
/// - This function must support memory pooling.
20302027
/// - If pUSMDesc is not NULL and pUSMDesc->pool is not NULL the allocation
20312028
/// will be served from a specified memory pool.
20322029
/// - Otherwise, the behavior is implementation-defined.

0 commit comments

Comments
 (0)