MCPcopy Create free account
hub / github.com/alibaba/MNN / _virtualMemory

Function _virtualMemory

source/geometry/GeometryComputer.cpp:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84static bool _virtualMemory(Tensor::InsideDescribe::NativeInsideDescribe* des) {
85 return des->memoryType == Tensor::InsideDescribe::MEMORY_VIRTUAL && nullptr == des->rasterCommand.lock().get();
86}
87
88bool GeometryComputer::ComputePermuteRegion(Tensor* input, Tensor* output, int* newshape, int shapeDim) {
89 auto inputDes = TensorUtils::getDescribe(input);

Callers 2

getRasterCacheCreateMethod · 0.85

Calls 2

getMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected