dbcsr_acc_event Module

Accelerator support



Contents


Variables

TypeVisibilityAttributesNameInitial
character(len=*), private, parameter:: moduleN ='dbcsr_acc_event'

Derived Types

type, public :: acc_event_type

Components

TypeVisibilityAttributesNameInitial
integer, private :: dummy =1

Functions

public function acc_event_query(this) result(res)

Fortran-wrapper for querying a CUDA/HIP event's status.

Arguments

TypeIntentOptionalAttributesName
type(acc_event_type), intent(in) :: this

Return Value logical

true if event has occurred, false otherwise


Subroutines

public subroutine acc_stream_wait_event(stream, event)

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

Arguments

TypeIntentOptionalAttributesName
type(acc_stream_type), intent(in) :: stream
type(acc_event_type), intent(in) :: event

public subroutine acc_event_record(this, stream)

Fortran-wrapper for recording a CUDA/HIP event.

Arguments

TypeIntentOptionalAttributesName
type(acc_event_type), intent(in) :: this
type(acc_stream_type), intent(in) :: stream

public subroutine acc_event_create(this)

Fortran-wrapper for creation of a CUDA/HIP event.

Arguments

TypeIntentOptionalAttributesName
type(acc_event_type), intent(inout) :: this

public subroutine acc_event_destroy(this)

Fortran-wrapper for destruction of a CUDA/HIP event.

Arguments

TypeIntentOptionalAttributesName
type(acc_event_type), intent(inout) :: this

public subroutine acc_event_synchronize(this)

Fortran-wrapper for waiting for the completion of a HIP/CUDA event.

Arguments

TypeIntentOptionalAttributesName
type(acc_event_type), intent(in) :: this