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

Function scalar_to_option

src/backend/opencl/traits.hpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82template<typename T>
83inline std::string scalar_to_option(const T &val) {
84 using namespace arrayfire::common;
85 using std::to_string;
86 return to_string(+val);
87}
88
89template<>
90inline std::string scalar_to_option<cl_float2>(const cl_float2 &val) {

Callers 8

triangleFunction · 0.50
gradientFunction · 0.50
luSplitLauncherFunction · 0.50
iirFunction · 0.50
ssArithCSRFunction · 0.50
identityFunction · 0.50
diagCreateFunction · 0.50
diagExtractFunction · 0.50

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected