Commit Graph

7 Commits

Author SHA1 Message Date
Lang Yu 7e5e392f2d SWDEV-440004 - Fix Unit_hipHostMalloc_AllocateUseMoreThanAvailGPUMemory
int(32bit -2147483648~2147483647) could overflow if allocated size >= 2GB(2147483648).
Use size_t instead.

Change-Id: I1511574464b96fcb09eae18daa5ee9f56d817505
Signed-off-by: Lang Yu <Lang.Yu@amd.com>


[ROCm/hip-tests commit: c7aa062b66]
2024-01-26 14:02:59 -05:00
Jaydeep Patel 5b34e31097 SWDEV-425213 - On windows, Max memory that can be allocated using hipHostMalloc = 90% of (availgpumem - 256mb).
Change-Id: I20b2619d582c162ec446f3cf98bcd3a9e5d57243


[ROCm/hip-tests commit: 5d4c30ff25]
2023-11-17 06:14:13 -05:00
ROCm CI Service Account 7e6f301b4e SWDEV-383372 - [catch2][dtest] Adding corner and stress tests for hipHostMalloc(). (#208)
Change-Id: I2308059e50a951a1e70de4f90fef9e2c76af21f1

[ROCm/hip-tests commit: 0b56a9d38c]
2023-08-14 20:50:29 +05:30
Fábio 39cb05db47 EXSWCPHIPT-42: Changes to HIP RTC Framework implementation (#2732)
- Removed ifdef from hipTestContext class
- Fix potential race condition in hipTest::launchRTCKernel()
- Improve documentation
- Move moduleUnloading to main() instead of explicitly calling it on every test
- Fix code formating
- Fix segmentation fault caused by using catch2 macro after catch2 is destroyed

[ROCm/hip-tests commit: a0296bd614]
2022-06-28 09:00:37 +05:30
ROCm CI Service Account 8d8958110a SWDEV-330661 - Add test for hipHostGetDevicePointer null check (#2745)
Change-Id: I19668385003a107e21f8484ef28e114b7c6d8a42


[ROCm/hip-tests commit: 2da551c659]
2022-06-16 21:05:56 -07:00
Fábio 4dc1940119 EXSWCPHIPT-42 - Add HIP RTC support to the test framework (#2719)
* EXSWCPHIPT-42 - Add HIP RTC support to the test framework
* Removed ifdef from hipTestContext class

[ROCm/hip-tests commit: f04fdbd0f7]
2022-06-13 15:35:02 +05:30
dkrottap c088dceed2 SWDEV-294643 - [catch2][dtest] Migration of Malloc related files to Catch2 (#2314)
Migrated malloc related files under memory folder into catch2 framework

Change-Id: I5aa07fc8148bdf6bef135947091aaf1d3c54663b

[ROCm/hip-tests commit: 4287af6a2f]
2021-08-19 10:29:07 +05:30