File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1016,7 +1016,7 @@ static bool l_is_simulator_dispatch(acl_mmd_dispatch_t *mmd_dispatch) {
1016
1016
}
1017
1017
1018
1018
static void l_update_simulator (int handle, unsigned int physical_device_id,
1019
- const acl_device_def_autodiscovery_t &dev) {
1019
+ const acl_device_def_autodiscovery_t &dev) {
1020
1020
std::vector<aocl_mmd_memory_info_t > mem_info (dev.num_global_mem_systems );
1021
1021
for (unsigned i = 0 ; i < mem_info.size (); ++i) {
1022
1022
mem_info[i].start =
@@ -1881,8 +1881,8 @@ int acl_hal_mmd_program_device(unsigned int physical_device_id,
1881
1881
1882
1882
// Tell the simulator (if present) about global memory sizes.
1883
1883
if (is_simulator) {
1884
- l_update_simulator (device_info[physical_device_id].handle , physical_device_id,
1885
- devdef->autodiscovery_def );
1884
+ l_update_simulator (device_info[physical_device_id].handle ,
1885
+ physical_device_id, devdef->autodiscovery_def );
1886
1886
}
1887
1887
1888
1888
device_info[physical_device_id].mmd_dispatch ->aocl_mmd_set_status_handler (
You can’t perform that action at this time.
0 commit comments