FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kBool kCudaDevice_IsAvailable ( kBool  checkCompatibility = kTRUE)

Reports whether a device is selected and, optionally, compatible with default minimimum platform requriements.

Note, the kCudaUtils_EnvironmentStatus function can be used to help determine the reason that a Cuda device is not available.

Parameters
checkCompatibilityIf kTRUE, checks compatibility; otherwise, checks only for presence of any device.
Returns
kTRUE if compatible device is available.
See also
kCudaUtils_EnvironmentStatus