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

Function getBackendCount

src/api/cpp/device.cpp:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20void setBackend(const Backend bknd) { AF_THROW(af_set_backend(bknd)); }
21
22unsigned getBackendCount() {
23 unsigned temp = 1;
24 AF_THROW(af_get_backend_count(&temp));
25 return temp;
26}
27
28int getAvailableBackends() {
29 int result = 0;

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

af_get_backend_countFunction · 0.50

Tested by

no test coverage detected