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 authored and Maneesh Gupta committed 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 \