Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
46
af::Backend getActiveBackend() {
47
auto result = static_cast<af::Backend>(0);
48
AF_THROW(af_get_active_backend(&result));
49
return result;
50
}
51
52
void info() { AF_THROW(af_info()); }
53
Callers
6
test_backend
Function · 0.85
TEST
Function · 0.85
getBackendName
Function · 0.85
~array
Method · 0.85
af_get_active_backend
Function · 0.85
setBackend
Function · 0.85
Calls
1
af_get_active_backend
Function · 0.50
Tested by
2
test_backend
Function · 0.68
getBackendName
Function · 0.68