Yifan Zhang
9bab46130a
Fix rocrtstFunc.Memory_Available failure for APUs w/ small VRAM.
...
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com >
Change-Id: I0e9d5f1880c0e484e88ed424888d94d1bcac4d53
2023-02-16 20:16:28 +08:00
Yifan Zhang
afae35b0fd
Avoid memory leak when rocrtstFunc.Memory_Available fails
...
Assert abort the test thread w/ memPtr1 allocated. Free memPtr1
to avoid memory leak.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com >
Change-Id: I4e1a202c1acb9ba71a23e112254f875bf5a0abcf
2023-02-16 20:13:15 +08:00
Yifan Zhang
4ebb9857ee
Fix rocrtstFunc.Memory_Max_Mem failure for APUs w/ small VRAM
...
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com >
Change-Id: I1c0f481af8b1d2a0939d28fb184ff6887747ab03
2023-02-16 20:12:19 +08:00
Yifan Zhang
f05770610c
Adjust the passing value for GPU agent when do max single allocation test
...
For APU asics, the default configuration size of video memory is
relatively small, while the reserved region becomes larger in recent
generation asics, ratio of max alloc size to the pool size may below
the expected value, so adjust it.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com >
Change-Id: I0e847c4c13e957cf6e811d3f379842619cf53370
2022-10-05 22:16:58 -04:00
David Yat Sin
ec759c7995
Add rocrtst to Query agent memory available
...
Add new test for GPU agents memory available
Change-Id: Ib07e2003a21659b99732b535cd004081635d6aa1
Signed-off-by: David Yat Sin <david.yatsin@amd.com >
2022-08-11 09:36:58 -04:00
Xiaomeng Hou
df59bfd57b
Adjust the passing value for GPU agent when do max single allocation test
...
For APU asics, the default configuration size of video memory is
relatively small, plus the reserved region, ratio of max alloc size to
the pool size may below the expected value, so adjust it.
Change-Id: I798b44d9532aa6a381a1cc19faa5a46110bf0ad6
2021-10-11 02:32:09 -04:00
Sean Keely
e25ae1263b
Remove references to finalizer header.
...
Change-Id: I6608c95268ab4bc66053d889cf7d5a30cd8fccab
2020-04-17 23:50:23 -04:00
Ramesh Errabolu
3201f68f72
Update memory allocation guide in using pool apis
...
This is to allow allocations in system memory that exceed sizes
reported by a CPU device
Change-Id: I3d10d192aafcefbe4107f69b7c5e30bf7f836619
2019-08-23 14:55:40 -04:00
Chris Freehill
ab2248132a
Clearer/more concise variable names
...
Change-Id: Ib92211977066b728f19b2a7fe40639160a8262b3
2017-08-01 10:38:26 -05:00
Chris Freehill
cf24f7bb78
Added max. single mem. allocation test.
...
Change-Id: Ie81c6af0502fde56225b1e197801cf04b474feb2
2017-07-31 12:04:55 -05:00