MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / deleteBuffers

Function deleteBuffers

src/tests/correctness/corr-ger.cpp:43–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43template <typename T> static void
44deleteBuffers(T *A, T *x, T *y, T *backA)
45{
46
47 if(A != NULL)
48 {
49 delete[] A;
50 }
51 if(backA != NULL)
52 {
53 delete[] backA;
54 }
55 if(x != NULL)
56 {
57 delete[] x;
58 }
59 if(y != NULL)
60 {
61 delete[] y;
62}
63}
64
65template <typename T>
66void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected