![]() |
(git:4f857eb)
|
Routines to reshape / redistribute tensors. More...
Data Types | |
| interface | dbt_copy_indexed |
Functions/Subroutines | |
| subroutine, public | dbt_reshape (tensor_in, tensor_out, summation, move_data, bounds, index_map, group_mask, group_dim) |
| copy data (involves reshape) tensor_out = tensor_out + tensor_in move_data memory optimization: transfer data from tensor_in to tensor_out s.t. tensor_in is empty on return | |
| subroutine, public | dbt_reshape_release () |
| Release the communication buffers that persist across calls of dbt_reshape. | |
Routines to reshape / redistribute tensors.
| subroutine, public dbt_reshape_ops::dbt_reshape | ( | type(dbt_type), intent(inout), target | tensor_in, |
| type(dbt_type), intent(inout) | tensor_out, | ||
| logical, intent(in), optional | summation, | ||
| logical, intent(in), optional | move_data, | ||
| integer, dimension(:, :), intent(in), optional | bounds, | ||
| integer, dimension(:, :), intent(in), optional | index_map, | ||
| logical, dimension(:, :), intent(in), optional | group_mask, | ||
| integer, intent(in), optional | group_dim ) |
copy data (involves reshape) tensor_out = tensor_out + tensor_in move_data memory optimization: transfer data from tensor_in to tensor_out s.t. tensor_in is empty on return
| bounds | crop tensor data while copying (as dbt_crop): start and end index per dimension |
| tensor_in | source tensor on the parent communicator |
| tensor_out | destination tensor; smaller communicators denote equal, contiguous subgroups |
| summation | add to destination instead of replacing it |
| move_data | clear the source after copying |
| index_map | optional source-to-destination block indices; zero skips a block |
| group_mask | optional subgroup selection by source block index |
| group_dim | source dimension indexing group_mask |
Definition at line 69 of file dbt_reshape_ops.F.
| subroutine, public dbt_reshape_ops::dbt_reshape_release |
Release the communication buffers that persist across calls of dbt_reshape.
Definition at line 462 of file dbt_reshape_ops.F.