dbcsr_acc_device Module



Contents


Variables

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

Functions

public function dbcsr_acc_get_ndevices() result(n)

Get number of accelerator devices

Arguments

None

Return Value integer

number of accelerator devices


Subroutines

public subroutine dbcsr_acc_set_active_device(device_id)

Set active accelerator device

Arguments

TypeIntentOptionalAttributesName
integer :: device_id

public subroutine dbcsr_acc_clear_errors()

Clear GPU errors

Arguments

None

public subroutine acc_device_synchronize()

Fortran-wrapper for waiting for work on all streams to complete

Arguments

None