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

Function cholesky

src/backend/opencl/cholesky.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39template<typename T>
40Array<T> cholesky(int *info, const Array<T> &in, const bool is_upper) {
41 if (OpenCLCPUOffload()) { return cpu::cholesky(info, in, is_upper); }
42
43 Array<T> out = copyArray<T>(in);
44 *info = cholesky_inplace(out, is_upper);
45
46 triangle<T>(out, out, is_upper, false);
47
48 return out;
49}
50
51#define INSTANTIATE_CH(T) \
52 template int cholesky_inplace<T>(Array<T> & in, const bool is_upper); \

Callers

nothing calls this directly

Calls 2

OpenCLCPUOffloadFunction · 0.85
cholesky_inplaceFunction · 0.70

Tested by

no test coverage detected