tvm
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
memory_scope.h File Reference

Memory scopes and allocation properties for runtime storage. More...

#include <tvm/ffi/enum.h>
#include <tvm/ffi/reflection/enum_def.h>
#include <tvm/runtime/base.h>
#include <ostream>
#include <string_view>
Include dependency graph for memory_scope.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::runtime::MemoryScopeObj
 Canonical identity of an extensible memory space. More...
 
class  tvm::runtime::MemoryScope
 A registered memory space, independent of backend allocation policy. More...
 
struct  tvm::ffi::TypeTraits< runtime::MemoryScope >
 

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::runtime
 
namespace  tvm::runtime::attr
 
namespace  tvm::ffi
 

Enumerations

enum class  tvm::runtime::MemoryAllocProperty : int { tvm::runtime::kNormal = 0 , tvm::runtime::kSingleAllocation = 1 , tvm::runtime::kSeparateAllocations = 2 }
 Allocation behavior associated with a memory scope. More...
 

Functions

std::ostream & tvm::runtime::operator<< (std::ostream &os, const MemoryScope &scope)
 

Variables

constexpr ffi::reflection::AttrKey< MemoryAllocProperty > tvm::runtime::attr::kMemoryAllocProperty
 Integer-valued MemoryAllocProperty; absence denotes kNormal.
 

Detailed Description

Memory scopes and allocation properties for runtime storage.