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

Function isHalfAvailable

src/api/cpp/device.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93bool isHalfAvailable(const int device) {
94 bool temp;
95 AF_THROW(af_get_half_support(&temp, device));
96 return temp;
97}
98
99int deviceget() { return getDevice(); }
100

Callers 3

noHalfTestsFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

af_get_half_supportFunction · 0.50

Tested by 1

noHalfTestsFunction · 0.68