Add fine grained host memory lock support (#1095)

* Add fine grained host memory lock support

* Fix default flag check
这个提交包含在:
Rahul Garg 编写, Maneesh Gupta 于 2019-05-13 11:48:26 +05:30 提交
1 父节点 5257b54a39
当前提交 aeeab1b23f
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 \