Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ operator()
Method
operator()
src/backend/opencl/types.cpp:30–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
29
template<typename T>
30
inline std::string ToNumStr<T>::operator()(T val) {
31
ToNum<T> toNum;
32
return toString(toNum(val));
33
}
34
35
template<>
36
std::string ToNumStr<float>::operator()(float val) {
Callers
3
getDeviceIdFromNativeId
Function · 0.45
setDeviceContext
Function · 0.45
removeDeviceContext
Function · 0.45
Calls
2
toString
Function · 0.50
isinf
Function · 0.50
Tested by
no test coverage detected