Add fine grained host memory lock support (#1095)

* Add fine grained host memory lock support

* Fix default flag check
Αυτή η υποβολή περιλαμβάνεται σε:
Rahul Garg
2019-05-12 23:18:26 -07:00
υποβλήθηκε από Maneesh Gupta
γονέας 5257b54a39
υποβολή aeeab1b23f
2 αρχεία άλλαξαν με 13 προσθήκες και 3 διαγραφές
@@ -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 \