Skip to content

Commit 874d0bb

Browse files
committed
auto_configure: change default value of device global host_access attribute to read_write
1 parent c898753 commit 874d0bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/acl_auto_configure.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,11 +475,11 @@ static bool read_device_global_mem_defs(
475475
}
476476

477477
// read device global properties
478-
auto host_access = 0U;
478+
auto host_access = 3U; // default to ACL_DEVICE_GLOBAL_HOST_ACCESS_READ_WRITE
479479
if (result && counters.back() > 0) {
480480
result = read_uint_counters(config_str, curr_pos, host_access, counters);
481481
}
482-
auto init_mode = 0U;
482+
auto init_mode = 0U; // default to reprogram
483483
if (result && counters.back() > 0) {
484484
result = read_uint_counters(config_str, curr_pos, init_mode, counters);
485485
}

0 commit comments

Comments
 (0)