A high-performance general-purpose compute library

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.
 
AFAPI af_err af_get_dbl_support (bool *available, const int device)
 

Detailed Description

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


Function Documentation

◆ af_get_dbl_support()

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

◆ isDoubleAvailable()

AFAPI bool isDoubleAvailable ( const int device)

Queries the current device for double precision floating point support.

Parameters
[in]devicethe ID of the device to query
Returns
true if the device supports double precision operations. false otherwise