forked from ESMCI/cime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimizing box_rearrange_create on index conversion
Slow integer divisions are used to convert a 1-D index into a coordinate value. For each element of the data array on the compute task, the conversion should occur only once. gcoord_map is used to save all conversion results to avoid duplicate computation. Also, we no longer need to process a data element if an IO task has already been found for it. Conflicts: src/clib/pio_rearrange.c
- Loading branch information
1 parent
deb68f1
commit 1228cb7
Showing
1 changed file
with
306 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters