diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-05-02 02:40:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-05-02 02:40:29 (GMT) |
commit | f77bb92cc1ae7c01349caf5d51f88212c1dabb83 (patch) | |
tree | c6128656b35d3c69e74065f9e5571aa8f8eed940 /src/H5VMprivate.h | |
parent | bfa57861844fec57e445d9b0cbc61f44e0ef1916 (diff) | |
download | hdf5-f77bb92cc1ae7c01349caf5d51f88212c1dabb83.zip hdf5-f77bb92cc1ae7c01349caf5d51f88212c1dabb83.tar.gz hdf5-f77bb92cc1ae7c01349caf5d51f88212c1dabb83.tar.bz2 |
[svn-r26993] Description:
Align w/incoming chunk performance changes, including some small performance
improvements here, as well as a few minor general code cleanups.
Tested on:
Mac OSX/64 10.10.3 (amazon) w/serial & parallel
(Too minor to require h5committest)
Diffstat (limited to 'src/H5VMprivate.h')
-rw-r--r-- | src/H5VMprivate.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5VMprivate.h b/src/H5VMprivate.h index dbe39ca..8ddb5ee 100644 --- a/src/H5VMprivate.h +++ b/src/H5VMprivate.h @@ -89,8 +89,10 @@ H5_DLL hsize_t H5VM_array_offset(unsigned n, const hsize_t *total_size, const hsize_t *offset); H5_DLL herr_t H5VM_array_calc(hsize_t offset, unsigned n, const hsize_t *total_size, hsize_t *coords); -H5_DLL herr_t H5VM_chunk_index(unsigned ndims, const hsize_t *coord, - const uint32_t *chunk, const hsize_t *down_nchunks, hsize_t *chunk_idx); +H5_DLL hsize_t H5VM_chunk_index(unsigned ndims, const hsize_t *coord, + const uint32_t *chunk, const hsize_t *down_nchunks); +H5_DLL hsize_t H5VM_chunk_index_scaled(unsigned ndims, const hsize_t *coord, + const uint32_t *chunk, const hsize_t *down_nchunks, hsize_t *scaled); H5_DLL ssize_t H5VM_opvv(size_t dst_max_nseq, size_t *dst_curr_seq, size_t dst_len_arr[], hsize_t dst_off_arr[], size_t src_max_nseq, size_t *src_curr_seq, size_t src_len_arr[], |