| 7 | namespace thunder { |
| 8 | size_t SyncMem::total_memory_size = 0; |
| 9 | SyncMem::SyncMem() : device_ptr(nullptr), host_ptr(nullptr), size_(0), head_(UNINITIALIZED), own_device_data(false), |
| 10 | own_host_data(false) { |
| 11 | |
| 12 | } |
| 13 | |
| 14 | SyncMem::SyncMem(size_t size) : device_ptr(nullptr), host_ptr(nullptr), size_(size), head_(UNINITIALIZED), |
| 15 | own_device_data(false), own_host_data(false) { |
nothing calls this directly
no outgoing calls
no test coverage detected