MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / DeviceDnVecInt

Method DeviceDnVecInt

XM/include/Utils/memory.h:1022–1022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020 int* vals;
1021
1022 DeviceDnVecInt(): gpu_id(0), size(0), vals(nullptr) {}
1023 DeviceDnVecInt(const int gpu_id, const int size): gpu_id(gpu_id), size(size), vals(nullptr) {
1024 this->allocate(this->gpu_id, this->size);
1025 }

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.95

Tested by

no test coverage detected