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.
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