* @brief Construct a memory space * @param _device_id GPU id, -1 for CPU * @param _count number of data * @param _stream CUDA stream */
| 49 | * @param _stream CUDA stream |
| 50 | */ |
| 51 | Memory(int _device_id, Index _count = 0, cudaStream_t _stream = 0) : |
| 52 | device_id(_device_id), stream(_stream) { |
| 53 | resize(_count); |
| 54 | } |
| 55 | |
| 56 | /** Shallow copy constructor */ |
| 57 | Memory(const Memory &m) : |
nothing calls this directly
no outgoing calls
no test coverage detected