Accelerator support
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=*), | private, | parameter | :: | moduleN | = | 'dbcsr_acc_event' |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | dummy | = | 1 |
Fortran-wrapper for querying a CUDA/HIP event's status.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_event_type), | intent(in) | :: | this |
true if event has occurred, false otherwise
Fortran-wrapper for making a GPU compute stream wait on an event. Because of fortran circular dependency restriction this can not go into acc_stream.F
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_stream_type), | intent(in) | :: | stream | |||
| type(acc_event_type), | intent(in) | :: | event |
Fortran-wrapper for recording a CUDA/HIP event.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_event_type), | intent(in) | :: | this | |||
| type(acc_stream_type), | intent(in) | :: | stream |
Fortran-wrapper for creation of a CUDA/HIP event.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_event_type), | intent(inout) | :: | this |
Fortran-wrapper for destruction of a CUDA/HIP event.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_event_type), | intent(inout) | :: | this |
Fortran-wrapper for waiting for the completion of a HIP/CUDA event.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(acc_event_type), | intent(in) | :: | this |