ArrayFire: isDoubleAvailable (original) (raw)

Check if double precision support is available for specified device. More...

Functions
AFAPI bool isDoubleAvailable (const int device)
Queries the current device for double precision floating point support. More...
AFAPI af_err af_get_dbl_support (bool *available, const int device)

Check if double precision support is available for specified device.

These functions check if a device has support to perform double precision floating point operations


af_get_dbl_support()

AFAPI af_err af_get_dbl_support ( bool * available,
const int device
)
AFAPI bool isDoubleAvailable ( const int device )

Queries the current device for double precision floating point support.

Parameters

[in] device the ID of the device to query

Returns

true if the device supports double precision operations. false otherwise