query_device_memory Subroutine

public subroutine query_device_memory(device, mem_clock_khz, bus_width_bits, available)

Memory clock (kHz) and bus width (bits) of OpenMP device device. The vendor this build targets is tried first, then the other one, as the build only guesses the vendor for some compilers.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: device
integer, intent(out) :: mem_clock_khz
integer, intent(out) :: bus_width_bits
logical, intent(out) :: available