#1056174 librocprim-tests: SortKeysOver4G fails due to insufficient memory

Package:
librocprim-tests
Source:
librocprim-tests
Description:
parallel primitives for GPU-accelerated code - tests
Submitter:
Cordell Bloor
Date:
2025-03-12 03:30:01 UTC
Severity:
normal
Tags:
#1056174#5
Date:
2023-11-18 08:53:33 UTC
From:
To:
Dear Maintainer,

RocprimDeviceRadixSort.SortKeysOver4G fails when executed on GPUs with
8 GB of memory or less [1]. To ensure that tests are useful on a wide
variety of hardware, the appropriate behaviour when a device has
insufficient memory to run the test is to mark it as SKIPPED rather
than marking it as FAILED.

The failing test output can be found in the CI logs [1] and it looks
like this:

    [==========] Running 145 tests from 37 test suites.
    [----------] Global test environment set-up.
    [----------] 1 test from RocprimDeviceRadixSort
    [ RUN      ] RocprimDeviceRadixSort.SortKeysOver4G
    KFD does not support xnack mode query.
    ROCr must assume xnack is disabled.
    test/rocprim/../../test/rocprim/test_device_radix_sort.hpp:710: Failure
    Failed
    HIP error 2: hipErrorOutOfMemory
    Google Test trace:
    test/rocprim/../../test/rocprim/test_device_radix_sort.hpp:696: with device_id = 0

Sincerely,
Cory Bloor

[1]: https://ci.rocm.debian.net/data/autopkgtest/unstable/amd64+gfx1034/r/rocprim/210/log.gz