Documentation for module acc_device

...

source: acc_device.F
Loading...

public Subroutines/Functions:

SUBROUTINE
acc_clear_errors
Clear CUDA errors
FUNCTION
INTEGER
acc_get_ndevices
Get number of accelerator devices
Set active accelerator device

SUBROUTINEacc_clear_errors()

Clear CUDA errors

FUNCTIONacc_get_ndevices()

Get number of accelerator devices

Return Value ::
INTEGER
number of accelerator devices

SUBROUTINEacc_set_active_device(dev_id)

Set active accelerator device

Arguments:
INTEGER
:: dev_id device ID