Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ isDoubleAvailable
Function
isDoubleAvailable
src/api/cpp/device.cpp:87–91 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
}
86
87
bool isDoubleAvailable(const int device) {
88
bool temp;
89
AF_THROW(af_get_dbl_support(&temp, device));
90
return temp;
91
}
92
93
bool isHalfAvailable(const int device) {
94
bool temp;
Callers
3
testRandomEngineUniform
Function · 0.85
BINARY_TESTS_NEAR
Function · 0.85
noDoubleTests
Function · 0.85
Calls
1
af_get_dbl_support
Function · 0.50
Tested by
1
noDoubleTests
Function · 0.68