Add fine grained host memory lock support (#1095)

* Add fine grained host memory lock support

* Fix default flag check


[ROCm/hip commit: aeeab1b23f]
Cette révision appartient à :
Rahul Garg a créé et Maneesh Gupta a révisé 2019-05-13 11:48:26 +05:30
1 Parent 376e19308b
révision c4567ad01a
2 fichiers modifiés
+13 -3

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -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 \