Skip to content

during the build this appears twice, but still completes #1172

@randomnodes

Description

@randomnodes

/home/p/CortexTheseus/cvm-runtime/src/runtime/infer_attr.cc: In member function ‘int64_t cvm::runtime::CvmRuntime::GetOps()’:
/home/p/CortexTheseus/cvm-runtime/src/runtime/infer_attr.cc:116:51: warning: ‘((void)& shape +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
116 | base_ops = static_cast<int64_t>(shape[0]) * 20;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/p/CortexTheseus/cvm-runtime/src/runtime/infer_attr.cc:112:56: warning: ‘((void)& weight_shp +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
112 | base_ops = static_cast<int64_t>(weight_shp[1]) * 3; // MAX (1<<24) * 3 < 1G
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions