cufftMpMakeReshape Interface

interface

Creates a reshape intended to re-distribute a global array of 3D data.


Called by

interface~~cufftmpmakereshape~~CalledByGraph interface~cufftmpmakereshape cufftMpMakeReshape proc~create~10 backend_cufftmp%create proc~create~10->interface~cufftmpmakereshape

public function cufftMpMakeReshape(reshapeHandle, elementSize, rank, lower_input, upper_input, lower_output, upper_output, strides_input, strides_output) result(cufftResult) bind(C, name="cufftMpMakeReshape")

Arguments

Type IntentOptional Attributes Name
type(cufftReshapeHandle), value :: reshapeHandle

The reshape handle.

integer(kind=c_long_long), value :: elementSize

The size of the individual elements, in bytes. Allowed values are 4, 8, and 16.

integer(kind=c_int), value :: rank

The length of the lower_input, upper_input, lower_output, upper_output, strides_input, and strides_output arrays. rank should be 3.

integer(kind=c_long_long) :: lower_input(*)

An array of length rank, representing the lower-corner of the portion of the global nx * ny * nz array owned by the current process in the input descriptor.

integer(kind=c_long_long) :: upper_input(*)

An array of length rank, representing the upper-corner of the portion of the global nx * ny * nz array owned by the current process in the input descriptor.

integer(kind=c_long_long) :: lower_output(*)

An array of length rank, representing the lower-corner of the portion of the global nx * ny * nz array owned by the current process in the output descriptor.

integer(kind=c_long_long) :: upper_output(*)

An array of length rank, representing the upper-corner of the portion of the global nx * ny * nz array owned by the current process in the output descriptor.

integer(kind=c_long_long) :: strides_input(*)

An array of length rank, representing the local data layout of the input descriptor in memory. All entries must be decreasing and positive.

integer(kind=c_long_long) :: strides_output(*)

An array of length rank, representing the local data layout of the output descriptor in memory. All entries must be decreasing and positive.

Return Value integer(kind=c_int)

The enumerated type cufftResult defines API call result codes.