(git:4f857eb)
Loading...
Searching...
No Matches
dbt_reshape_ops Module Reference

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.

Detailed Description

Routines to reshape / redistribute tensors.

Author
Patrick Seewald

Function/Subroutine Documentation

◆ dbt_reshape()

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

Parameters
boundscrop tensor data while copying (as dbt_crop): start and end index per dimension
tensor_insource tensor on the parent communicator
tensor_outdestination tensor; smaller communicators denote equal, contiguous subgroups
summationadd to destination instead of replacing it
move_dataclear the source after copying
index_mapoptional source-to-destination block indices; zero skips a block
group_maskoptional subgroup selection by source block index
group_dimsource dimension indexing group_mask
Author
Ole Schuett

Definition at line 69 of file dbt_reshape_ops.F.

◆ dbt_reshape_release()

subroutine, public dbt_reshape_ops::dbt_reshape_release

Release the communication buffers that persist across calls of dbt_reshape.

Author
Hans Pabst

Definition at line 462 of file dbt_reshape_ops.F.

Here is the call graph for this function:
Here is the caller graph for this function: