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

Method DeviceSpMatCSR

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

Source from the content-addressed store, hash-verified

590 cusparseSpMatDescr_t cusparse_descr = nullptr;
591
592 DeviceSpMatCSR(){}
593 DeviceSpMatCSR(const size_s gpu_id, const size_s row_size, const size_s col_size, const size_l nnz):
594 gpu_id(gpu_id), row_size(row_size), col_size(col_size), nnz(nnz),
595 col_ids(nullptr), row_ptrs(nullptr), vals(nullptr), cusparse_descr(NULL) {

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.95

Tested by

no test coverage detected