d5855c1658b74ccbd3c20edb0513b81a1f544aae
1. As we cannot ganrantee that 100% apu vram are free to be allocated, limit the allocation size be no more than 3/4 of vram size. 2. Keep the old 1GB allocation limit for dGPU case. 3. Add the alignment check for alloc_size. Affected tests: rocrtstStress.Memory_Concurrent_Allocate_Test rocrtstStress.Memory_Concurrent_Free_Test Change-Id: Id0023de132024d02f80980ae4237d9d74d9e27d3 Signed-off-by: Mengbing Wang <mengbing.wang@amd.com>
Description
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Other
1.1%