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

Fix Write Hyperslab from Memory #57

Closed
wants to merge 4 commits into from

Conversation

mattjala
Copy link
Collaborator

This is #50 with an additional check to avoid allocating the buffer and performing H5Dgather if the memory selection is already contiguous.

jwsblokland and others added 4 commits August 25, 2023 14:41
- Improved the function RV_dataset_write() such it makes use
  of the function H5Dgather() to gather the data needed
  for writing a hyperslab (memory) to a file. This approach
  is similar to the one found in the function RV_dataset_read().
- Adapted the hyperslab and point selection test.
@mattjala mattjala added the bug Something isn't working label Aug 30, 2023
@jwsblokland
Copy link
Contributor

jwsblokland commented Aug 31, 2023

@mattjala I just noticed your work on improving the memory-side hyperslab for writing. The interesting thing is I also just finished a similar improvement. I will create a PR of it such you can take a look at it. Maybe we need to combine both PRs to get the best solution.

Update: my PR is #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants