Disable tests calling TestMemoryAcrossMulKernels()/TestMemoryAcrossMulKernelsUsingGraph() as they might be hanging the whole machine on Windows
[ROCm/hip-tests commit: a423c20690]
Unit_hipMalloc_AllocateMoreThanTotalRAM is an invalid test. hipMalloc is able to allocate more than RAM size if VRam is larger, unless the test is meant to only allocate on host device.
Previously this test may have passed because of an incorrect check on hipMalloc limit: we had incorrectly limited allocation to physical ram size. This is no longer correct. We could always allocate Vram limit or sometimes system ram limit if Vram is full, fixed in https://github.com/AMD-ROCm-Internal/clr/pull/122
Co-authored-by: Jimbo Xie <jiabaxie@amd.com>
[ROCm/hip-tests commit: e25680e4d1]
The test wrongly assumed that the reserved memory should always
be equal to the allocation size. However, suballocations are possible
Change-Id: I1d1f3c3cdb231188f8b35ed64ffe4e2a3a2f16f9
[ROCm/hip-tests commit: 168312b97f]
* This also removes test that is invalid on GPUs
- As it requires releasing memory on the device (which it does not do)
- Copying back the kernel argument to the host
- It is also a NO-OP as the queue has no pushes to pop
Change-Id: I8050cd400d34f78d5afce71bf0e3d57d1878bef0
[ROCm/hip-tests commit: 714cc594e7]
Unit_hipMemPoolApi_BasicAlloc expects to work on device 0, but other
tests will set not-0 devices in mgpu. This leads to hang of
Unit_hipMemPoolApi_BasicAlloc. Fix by set device 0 in head code
of Unit_hipMemPoolApi_BasicAlloc.
SWDEV-508872 - Fix Perf_hipPerfMemFill_test
When mem size is 2G, the test is so slow that it looks like stuckness.
Set top mem size to 1G can make the test pass in an acceptiable time.
Change-Id: Ie26dbf597e5ba8cb898d1aae5ed5ecf0267c3228
[ROCm/hip-tests commit: 94eea4db59]
The test sets the hipMemCreate and hipMemSetAccess properties
to device but accesses the mapped memory directly from the host.
Change-Id: I2ae51a2658acc01aff39fc371ba97191cc9b3878
[ROCm/hip-tests commit: d33a0fa75a]
Module and stream should be created on the same device, while hipModuleGetFunction can be called from any device.
Change-Id: I4a424f9631678684292e40e05ffbaf3d887aea55
[ROCm/hip-tests commit: 293ff3a025]
- For H2D transfer cases, we cannot enfore ErrorNotReady behavior if the
source is unpinned. In that case the driver can sync depending on if
it pins or stages the source buffer.
Change-Id: I436a4b667bff172cfbadc58631a46a215c40fcb1
[ROCm/hip-tests commit: d8f5c2560f]
Disable Performance_hipExtLaunchKernelGGL_QueryGPUFrequency
as it should be a local perf test.
Change-Id: I7e94743d6958ffaadae9cff297e3f2d93f9ff817
[ROCm/hip-tests commit: ff516573f2]
Fix Unit_hipExtMallocWithFlags_CoherentTst hang on device fine
grain access memory because host builtin atomic functions malfunctions
on it.
Fix SWDEV-507938 also.
Change-Id: Ie26dbf6b7e5aa8cb898d11ae5ed5ecf1267c3228
[ROCm/hip-tests commit: 8ea926725b]
1) Cannot assume that blockIdx.x = 0 and threadIdx.x = 0 will be
run first in TestKernel. Initialize flags outside kernels.
2) use __hip_atomic_store in device code and __atomic_store_n for host.
Change-Id: If4e9274d2c16af55b53a626c3ba2fb0db7052d4b
[ROCm/hip-tests commit: fc270bc90c]