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

Function getActiveBackend

src/api/cpp/device.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46af::Backend getActiveBackend() {
47 auto result = static_cast<af::Backend>(0);
48 AF_THROW(af_get_active_backend(&result));
49 return result;
50}
51
52void info() { AF_THROW(af_info()); }
53

Callers 6

test_backendFunction · 0.85
TESTFunction · 0.85
getBackendNameFunction · 0.85
~arrayMethod · 0.85
af_get_active_backendFunction · 0.85
setBackendFunction · 0.85

Calls 1

af_get_active_backendFunction · 0.50

Tested by 2

test_backendFunction · 0.68
getBackendNameFunction · 0.68