MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / isDoubleAvailable

Function isDoubleAvailable

src/api/cpp/device.cpp:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87bool isDoubleAvailable(const int device) {
88 bool temp;
89 AF_THROW(af_get_dbl_support(&temp, device));
90 return temp;
91}
92
93bool isHalfAvailable(const int device) {
94 bool temp;

Callers 3

testRandomEngineUniformFunction · 0.85
BINARY_TESTS_NEARFunction · 0.85
noDoubleTestsFunction · 0.85

Calls 1

af_get_dbl_supportFunction · 0.50

Tested by 1

noDoubleTestsFunction · 0.68