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

Function deleteBuffers

src/tests/correctness/corr-rot.cpp:45–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

rotCorrectnessTestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected