Accelerator support
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=*), | private, | parameter | :: | moduleN | = | 'dbcsr_acc_stream' |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | dummy | = | 1 |
Returns C-pointer of given stream.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | this |
stream ID |
false (accelerator support is not enabled)
Checks if two streams are equal
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_stream_type), | intent(in) | :: | this | |||
| type(acc_stream_type), | intent(in) | :: | other |
true if equal, false otherwise
Checks if a streams is associated
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_stream_type), | intent(in) | :: | this |
true if associated, false otherwise
Fortran-wrapper for creation of a CUDA/HIP stream.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_stream_type), | intent(out) | :: | this | |||
| character(len=*), | intent(in) | :: | name | |||
| integer, | intent(in), | optional | :: | priority |
Fortran-wrapper for destruction of a CUDA/HIP stream.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_stream_type), | intent(inout) | :: | this |
Fortran-wrapper for waiting for CUDA/HIP stream tasks to complete.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_stream_type), | intent(in) | :: | this |
Fortran-wrapper for getting CUDA/HIP streams' priority range.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | least | |||
| integer, | intent(out) | :: | greatest |