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

Function deleteBuffers

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected