41 std::vector<type> local_nodes_value;
43 std::vector<type> global_values;
45 inline void build_global(MPI_Datatype &dtype) {
46 shamalgs::collective::vector_allgatherv(
47 local_nodes_value, dtype, global_values, dtype, MPI_COMM_WORLD);
52 sycl::buffer<type>(local_nodes_value.data(), local_nodes_value.size()),
53 sycl::buffer<type>(global_values.data(), global_values.size()),