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

Function af_get_half_support

src/api/c/device.cpp:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203af_err af_get_half_support(bool* available, const int device) {
204 try {
205 *available = isHalfSupported(device);
206 }
207 CATCHALL;
208 return AF_SUCCESS;
209}
210
211af_err af_get_device_count(int* nDevices) {
212 try {

Callers 1

isHalfAvailableFunction · 0.50

Calls 1

isHalfSupportedFunction · 0.50

Tested by

no test coverage detected