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

Function createHandleFromValue

src/api/c/handle.hpp:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97template<typename T>
98af_array createHandleFromValue(const af::dim4 &d, double val) {
99 return getHandle(detail::createValueArray<T>(d, detail::scalar<T>(val)));
100}
101
102template<typename T>
103af_array createHandleFromData(const af::dim4 &d, const T *const data) {

Callers 1

af_wrap_commonFunction · 0.70

Calls 1

getHandleFunction · 0.70

Tested by

no test coverage detected