DIR_X fields are reordered and unpadded by a single kernel. DIR_C fields are unpadded directly, and DIR_Y/DIR_Z fields are reordered to DIR_C first. Precision conversion happens in the same kernel.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cuda_backend_t) | :: | self | ||||
| type(c_ptr), | intent(in) | :: | buffer | |||
| class(field_t), | intent(in) | :: | f | |||
| integer, | intent(in) | :: | dims(3) | |||
| logical, | intent(in) | :: | to_sp |