Documentation for module acc_event

Accelerator support

source: acc_event.F
Loading...

public Types:

acc_event_type
...

public Subroutines/Functions:

SUBROUTINE
acc_event_create (this)
Fortran-wrapper for cudaEventCreate.
SUBROUTINE
acc_event_destroy (this)
Fortran-wrapper for cudaEventDestroy.
FUNCTION
LOGICAL
acc_event_query (this)
Fortran-wrapper for cudaEventQuery.
Fortran-wrapper for cudaEventRecord.
Fortran-wrapper for cudaEventSynchronize.
Fortran-wrapper for cudaStreamWaitEvent. Because of fortran circular dependency restriction this can not go into acc_stream.F

public Types:

TYPE :: acc_event_type

...


INTEGER
:: dummy = 1 ...

SUBROUTINEacc_event_create(this)

Fortran-wrapper for cudaEventCreate.

Arguments:
INTENT(inout)
:: this event

SUBROUTINEacc_event_destroy(this)

Fortran-wrapper for cudaEventDestroy.

Arguments:
INTENT(inout)
:: this event

FUNCTIONacc_event_query(this)

Fortran-wrapper for cudaEventQuery.

Return Value ::
LOGICAL
true if event has occured, false otherwise
Arguments:
INTENT(in)
:: this event

SUBROUTINEacc_event_record(this, stream)

Fortran-wrapper for cudaEventRecord.

Arguments:
INTENT(in)
:: this event
INTENT(in)
:: stream stream

SUBROUTINEacc_event_synchronize(this)

Fortran-wrapper for cudaEventSynchronize.

Arguments:
INTENT(in)
:: this event

SUBROUTINEacc_stream_wait_event(stream, event)

Fortran-wrapper for cudaStreamWaitEvent. Because of fortran circular dependency restriction this can not go into acc_stream.F

Arguments:
INTENT(in)
:: stream stream
INTENT(in)
:: event event