hipHostMalloc allocation are mapped to all devices by default.
Support hipHostMallocPortable flag.
Default flags are hipHostMallocPortable | hipHostMallocMapped.
Also:
-refactor tests to move addCount and addCountReverse into HipTest
namespace.
-test multi-GPU host memory.
[ROCm/clr commit: ff9bed6535]
This commit is contained in:
@@ -99,7 +99,7 @@ inline int zrand(int max)
|
||||
|
||||
|
||||
//=================================================================================================
|
||||
// Functins to run tests
|
||||
// Functions to run tests
|
||||
//=================================================================================================
|
||||
//--
|
||||
//Run through a couple simple cases to test lookups and host pointer arithmetic:
|
||||
|
||||
Reference in New Issue
Block a user