Add fine grained host memory lock support (#1095)

* Add fine grained host memory lock support

* Fix default flag check


[ROCm/hip commit: aeeab1b23f]
Este cometimento está contido em:
Rahul Garg criou e Maneesh Gupta cometeu 2019-05-13 11:48:26 +05:30
1 ascendente 376e19308b
cometimento c4567ad01a
2 ficheiros modificados
+13 -3

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -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 \