Creates cartesian grid and runs various backends on it. Returns best backend and execution time
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(dtfft_platform_t), | intent(in) | :: | platform |
Platform to create plan for |
||
| 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 |
||
| type(dtfft_effort_t), | intent(in) | :: | effort |
How thoroughly |
||
| type(MPI_Datatype), | intent(in) | :: | base_dtype |
Base MPI_Datatype |
||
| 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 |
||
| type(dtfft_stream_t), | intent(in) | :: | stream |
Stream to use |
||
| logical, | intent(in) | :: | is_z_slab |
Is Z-slab optimization enabled |
||
| integer(kind=int8), | intent(inout) | :: | best_forward_ids(:) |
Best Datatype ids for forward plan |
||
| integer(kind=int8), | intent(inout) | :: | best_backward_ids(:) |
Best Datatype ids for backward plan |
||
| 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 |