MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / make_host_scalar

Function make_host_scalar

extensions/include/cuMat/src/NullaryOps.h:105–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104template<typename _Scalar>
105HostScalar<_Scalar> make_host_scalar(const _Scalar& value)
106{
107 return HostScalar<_Scalar>(1, 1, 1, functor::ConstantFunctor<_Scalar>(value));
108}
109
110CUMAT_NAMESPACE_END
111

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected