HIP icon indicating copy to clipboard operation
HIP copied to clipboard

[Feature]: Allow specifying maximum size for memory pool

Open pxl-th opened this issue 1 year ago • 3 comments

Suggestion Description

Similar to maxSize in CUmemPoolProps, but for hipMemPoolProps that is then passed to hipMemPoolCreate.

It'd be great to have this to limit the pool growth! Thanks.

Operating System

No response

GPU

No response

ROCm Component

No response

pxl-th avatar Feb 22 '24 17:02 pxl-th

Thank you for suggestion, We will investigate and update you.

jaydeeppatel1111 avatar Feb 24 '24 06:02 jaydeeppatel1111

@jaydeeppatel1111 am I missing something or it looks like ROCm docs contain information about maxSize field, but the actual release does not include https://github.com/ROCm/clr/commit/b72d8da1bdd6547c86baa119f1bacab4d418a5ea ?

I'm not able to find it in rocm-6.1.1 tag for clr repo as well as in my local hip_runtime_api.h.

pxl-th avatar May 12 '24 14:05 pxl-th

Hello @pxl-th , Change is yet to be part of release.

jaydeeppatel1111 avatar May 13 '24 03:05 jaydeeppatel1111