Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing 2735 #2737

Merged
merged 3 commits into from Jul 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -108,7 +108,7 @@ namespace hpx
"is too small");

// Update end_
end_ += sw_basis_.back();
end_ += hw_basis_[N-1] * sw_sizes.begin()[N-1];
}

private:
Expand Down
5 changes: 3 additions & 2 deletions tests/unit/component/partitioned_vector_subview.cpp
Expand Up @@ -102,10 +102,11 @@ int main()
std::size_t tile = 10;
std::size_t elt_size = 8;

std::size_t raw_size = N*N*elt_size;
// (N+1) replaces N for padding purpose
std::size_t raw_size = N*(N+1)*elt_size;

vector_type my_vector(raw_size,
hpx::container_layout( N*N, hpx::find_all_localities() ));
hpx::container_layout( N*(N+1), hpx::find_all_localities() ));

std::string vec_name("my_vector");
my_vector.register_as(hpx::launch::sync, vec_name);
Expand Down