| 97 | |
| 98 | template <class T> |
| 99 | GpuArray<T>::GpuArray() |
| 100 | : m_size(0) |
| 101 | , m_hptr(0) |
| 102 | , m_currentRead(0) |
| 103 | , m_currentWrite(0) |
| 104 | { |
| 105 | m_dptr[0] = 0; |
| 106 | m_dptr[1] = 0; |
| 107 | |
| 108 | m_vbo[0] = 0; |
| 109 | m_vbo[1] = 0; |
| 110 | |
| 111 | m_cuda_vbo_resource[0] = NULL; |
| 112 | m_cuda_vbo_resource[1] = NULL; |
| 113 | } |
| 114 | |
| 115 | template <class T> GpuArray<T>::~GpuArray() { free(); } |
| 116 |
nothing calls this directly
no outgoing calls
no test coverage detected