Skip to content

Memory pooling issue in HIP adapter #1479

Open
@igchor

Description

@igchor

HIP adapter has an ifdef to enable pooling support in urUSMPoolCreate:

#ifdef UMF_ENABLE_POOL_TRACKING
The define, however is never set which means we do not test HIP with pooling enabled at all.

I tried setting UMF_ENABLE_POOL_TRACKING but this results in segfault in tests:

# ./bin/test-sum

...

[----------] 12 tests from urUSMHostAllocTest
[ RUN      ] urUSMHostAllocTest.Success/AMD_HIP_BACKEND___AMD_Radeon_RX_6800_XT___UsePoolEnabled
Segmentation fault (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghipHIP adapter specific issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions