public interface fclGetDeviceInfo
Generic interface to query device information.
See clGetDeviceInfo
for values of 'key' argument contained in clfortran module.
Subroutines
public module subroutine fclGetDeviceInfoString(device, key, value)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
type(fclDevice),
|
intent(in) |
|
|
:: |
device |
|
integer(kind=c_int32_t),
|
intent(in) |
|
|
:: |
key |
|
character(len=:),
|
intent(out), |
|
allocatable, target
|
:: |
value |
|
public module subroutine fclGetDeviceInfoInt32(device, key, value)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
type(fclDevice),
|
intent(in) |
|
|
:: |
device |
|
integer(kind=c_int32_t),
|
intent(in) |
|
|
:: |
key |
|
integer(kind=c_int32_t),
|
intent(out), |
|
target
|
:: |
value |
|
public module subroutine fclGetDeviceInfoInt64(device, key, value)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
type(fclDevice),
|
intent(in) |
|
|
:: |
device |
|
integer(kind=c_int32_t),
|
intent(in) |
|
|
:: |
key |
|
integer(kind=c_int64_t),
|
intent(out), |
|
target
|
:: |
value |
|