Add fine grained host memory lock support (#1095)

* Add fine grained host memory lock support

* Fix default flag check
This commit is contained in:
Rahul Garg
2019-05-12 23:18:26 -07:00
committed by Maneesh Gupta
parent fb92feae0e
commit e1f3dc0c80
2 changed files with 13 additions and 3 deletions
@@ -191,7 +191,7 @@ enum hipLimit_t {
0x2 ///< Map the allocation into the address space for the current device. The device pointer
///< can be obtained with #hipHostGetDevicePointer.
#define hipHostRegisterIoMemory 0x4 ///< Not supported.
#define hipExtHostRegisterCoarseGrained 0x8 ///< Coarse Grained host memory lock
#define hipDeviceScheduleAuto 0x0 ///< Automatically select between Spin and Yield
#define hipDeviceScheduleSpin \