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

Function createHostDataArray

src/backend/opencl/Array.cpp:476–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474
475template<typename T>
476Array<T> createHostDataArray(const dim4 &dims, const T *const data) {
477 verifyTypeSupport<T>();
478 return Array<T>(dims, data);
479}
480
481template<typename T>
482Array<T> createDeviceDataArray(const dim4 &dims, void *data, bool copy) {

Callers 3

convertPivotFunction · 0.70
qrFunction · 0.70
qr_inplaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected