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

Method DeviceDnVecFloat

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

Source from the content-addressed store, hash-verified

969 cusparseDnVecDescr_t cusparse_descr;
970
971 DeviceDnVecFloat(): gpu_id(0), size(0), vals(nullptr), cusparse_descr(NULL) {}
972 DeviceDnVecFloat(const int gpu_id, const int size, bool as_byte = false):
973 gpu_id(gpu_id), size(size), vals(nullptr), cusparse_descr(NULL) {
974 this->allocate(this->gpu_id, this->size, as_byte);

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.95

Tested by

no test coverage detected