Add fine grained host memory lock support (#1095)

* Add fine grained host memory lock support

* Fix default flag check


[ROCm/hip commit: aeeab1b23f]
이 커밋은 다음에 포함됨:
Rahul Garg 작성하고 Maneesh Gupta가 2019-05-13 11:48:26 +05:30를 커밋함
1 부모 376e19308b
커밋 c4567ad01a
2 파일이 변경됨
+13 -3

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -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 \