Skip to content
Snippets Groups Projects
Commit eb62c558 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Scratch unneeded qualifiers.

parent 652f8312
No related branches found
No related tags found
No related merge requests found
......@@ -442,9 +442,9 @@ exchange_points_to_remove(int num_src_intersections,
MPI_Request * requests
= xmalloc((size_t)(num_src_intersections + 2 * num_dst_intersections) *
sizeof(*requests));
MPI_Request *restrict send_header_requests = requests,
*restrict recv_requests = requests + num_dst_intersections,
*restrict send_data_requests = recv_requests + num_src_intersections;
MPI_Request *send_header_requests = requests,
*recv_requests = requests + num_dst_intersections,
*send_data_requests = recv_requests + num_src_intersections;
// set up receives for indices that need to be removed from the send messages
for (int i = 0; i < num_src_intersections; ++i)
......
......@@ -1077,9 +1077,9 @@ static struct Xt_pos_ext * exchange_transfer_pos_ext(
MPI_Request * requests
= xmalloc((size_t)(n_in + 2 * n_out) * sizeof(*requests));
MPI_Request *restrict send_header_requests = requests,
*restrict recv_requests = requests + n_out,
*restrict send_data_requests = recv_requests + n_in;
MPI_Request *send_header_requests = requests,
*recv_requests = requests + n_out,
*send_data_requests = recv_requests + n_in;
// set up receives for number of transfer_pos_ext per remote
// for (int i = 0; i < n_in; ++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment