fclDevice Derived Type

type, public :: fclDevice

Type wrapper for openCL device objects


Contents


Components

Type Visibility Attributes Name Initial
integer(kind=c_int64_t), public :: cl_device_type

Device type

character(len=:), public, allocatable :: name

Device name

integer(kind=c_int32_t), public :: nComputeUnits

Number of device compute units

integer(kind=c_int64_t), public :: global_memory

Total global memory, bytes

integer(kind=c_int32_t), public :: clock_freq

Max clock frequency, MHz

character(len=:), public, allocatable :: version

OpenCL version

character(len=:), public, allocatable :: extensions

Supported OpenCL extensions

type(fclPlatform), public, pointer :: platform

Pointer to containing platform

character(len=:), public, allocatable :: platformName

Name of containing platform

character(len=:), public, allocatable :: platformVendor

Vendor of containing platform