Skip to content
Snippets Groups Projects
Commit f78c7155 authored by Oraji, Yussur Mustafa's avatar Oraji, Yussur Mustafa
Browse files

Fix some compilation warnings

parent 511be5f4
No related branches found
No related tags found
1 merge request!25Draft: Fortran Support
......@@ -578,7 +578,7 @@ def replace_wait(wait_call, tm, wait_func_to_use, provide_request_array: bool =
idx_name = tm.add_stack_variable("int")
idx_array = tm.add_stack_variable("int", arr_dim=1)
test_call = MPICallFactory.mpi_waitsome("1", wait_call.get_arg("request"), "&" + idx_name,
"&" + idx_array, status_to_use)
idx_array, status_to_use)
test_call.set_rank_executing(wait_call.get_rank_executing())
test_call.set_identifier(wait_call.get_identifier())
tm.insert_instruction(test_call, before_instruction=wait_call) # insertion before the improbe call
......@@ -587,7 +587,7 @@ def replace_wait(wait_call, tm, wait_func_to_use, provide_request_array: bool =
if wait_func_to_use == "mpi_testsome":
flag_name = tm.add_stack_variable("int")
idx_array = tm.add_stack_variable("int", arr_dim=1)
test_call = MPICallFactory.mpi_testsome("1", wait_call.get_arg("request"), "&" + flag_name, "&" + idx_array,
test_call = MPICallFactory.mpi_testsome("1", wait_call.get_arg("request"), "&" + flag_name, idx_array,
status_to_use)
test_call.set_rank_executing(wait_call.get_rank_executing())
test_call.set_identifier(wait_call.get_identifier())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment