Creates cartesian grid and runs various backends on it. Can return best backend and execution time
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | dims(:) |
Global sizes of the transform requested |
||
integer(kind=int32), | intent(in) | :: | transposed_dims(:,:) |
Transposed dimensions |
||
type(MPI_Comm), | intent(in) | :: | base_comm |
Basic communicator to create 3d grid from |
||
integer(kind=int32), | intent(in) | :: | comm_dims(:) |
Number of processors in each dimension |
||
integer(kind=int64), | intent(in) | :: | base_storage |
Number of bytes needed to store single element |
||
logical, | intent(in) | :: | is_z_slab |
Is Z-slab optimization enabled |
||
type(dtfft_stream_t), | intent(in) | :: | stream |
Stream to use |
||
type(dtfft_backend_t), | intent(in), | optional | :: | backend |
GPU Backend to test. Should be passed only when effort is |
|
real(kind=real32), | intent(out), | optional | :: | best_time |
Elapsed time for best plan selected |
|
type(dtfft_backend_t), | intent(out), | optional | :: | best_backend |
Best backend selected for the grid |