MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / SyncMem

Method SyncMem

src/thundersvm/syncmem.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace 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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected