Commit Graph

7 Commits

Author SHA1 Message Date
Lang Yu c7aa062b66 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>
2024-01-26 14:02:59 -05:00
Jaydeep Patel 5d4c30ff25 SWDEV-425213 - On windows, Max memory that can be allocated using hipHostMalloc = 90% of (availgpumem - 256mb).
Change-Id: I20b2619d582c162ec446f3cf98bcd3a9e5d57243
2023-11-17 06:14:13 -05:00
ROCm CI Service Account 0b56a9d38c SWDEV-383372 - [catch2][dtest] Adding corner and stress tests for hipHostMalloc(). (#208)
Change-Id: I2308059e50a951a1e70de4f90fef9e2c76af21f1
2023-08-14 20:50:29 +05:30
Fábio a0296bd614 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
2022-06-28 09:00:37 +05:30
ROCm CI Service Account 2da551c659 SWDEV-330661 - Add test for hipHostGetDevicePointer null check (#2745)
Change-Id: I19668385003a107e21f8484ef28e114b7c6d8a42
2022-06-16 21:05:56 -07:00
Fábio f04fdbd0f7 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
2022-06-13 15:35:02 +05:30
dkrottap 4287af6a2f 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
2021-08-19 10:29:07 +05:30