DEVICE_MOD Module


Interfaces

public interface DEVICE_SYNC

  • public function DEVICE_SYNCHRONIZE() bind(C, NAME='hipDeviceSynchronize')

    Arguments

    None

    Return Value integer

public interface DEVICESTREAMSYNC

  • public function DEVICE_STREAM_SYNCHRONIZE(STREAM) bind(C, NAME='hipStreamSynchronize')

    Arguments

    Type IntentOptional Attributes Name
    type(C_PTR) :: STREAM

    Return Value integer

public interface DEVICESTREAMDESTROY

  • public function DEVICE_STREAM_DESTROY(STREAM) bind(C, NAME='hipStreamDestroy')

    Arguments

    Type IntentOptional Attributes Name
    type(C_PTR) :: STREAM

    Return Value integer

public interface DEVICESETDEVICE

  • public function DEVICE_SETDEVICE(DEVNUM) bind(C, NAME='hipSetDevice')

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=C_INT), VALUE :: DEVNUM

    Return Value integer

public interface DEVICEGETDEVICE

  • public function DEVICE_GETDEVICE(DEVNUM) bind(C, NAME='hipGetDevice')

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=C_INT) :: DEVNUM

    Return Value integer

public interface DEVICEGETDEVICECOUNT

  • public function DEVICE_GETDEVICECOUNT(DEVNUM) bind(C, NAME='hipGetDeviceCount')

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=C_INT) :: DEVNUM

    Return Value integer

public interface DEVICEGETMEMINFO

  • public function DEVICE_MEMGETINFO(MEMFREE_MB, MEMTOTAL_MB) bind(C, NAME='c_hipmemgetinfo')

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=C_INT) :: MEMFREE_MB
    integer(kind=C_INT) :: MEMTOTAL_MB

    Return Value integer