| 45 | } |
| 46 | |
| 47 | template <typename T> static void |
| 48 | deleteBuffers(T *blasX, int *blasiAmax=NULL, int *clblasiAmax=NULL) |
| 49 | { |
| 50 | if(blasX != NULL) |
| 51 | { |
| 52 | delete[] blasX; |
| 53 | } |
| 54 | if(clblasiAmax != NULL) |
| 55 | { |
| 56 | delete[] clblasiAmax; |
| 57 | } |
| 58 | if(blasiAmax != NULL) |
| 59 | { |
| 60 | delete(blasiAmax); |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | template <typename T> |
| 65 | void |
nothing calls this directly
no outgoing calls
no test coverage detected