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

Method DeviceSpMatCOO

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

Source from the content-addressed store, hash-verified

679 cusparseSpMatDescr_t cusparse_descr = nullptr;
680
681 DeviceSpMatCOO(){}
682 DeviceSpMatCOO(const size_s gpu_id, const size_s row_size, const size_s col_size, const size_l nnz):
683 gpu_id(gpu_id), row_size(row_size), col_size(col_size), nnz(nnz),
684 col_ids(nullptr), row_ids(nullptr), vals(nullptr), cusparse_descr(NULL) {

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.95

Tested by

no test coverage detected