Defined in File var_node.h
This class is a nested type of Class MemAllocPlan::Chunk.
memory allocation status for this chunk
Allocation status can either be INVALID, FROM_OWNER_VAR, or an offset in a static allocation buffer. This status is compactly represented by an integer value. No error check is performed in the accessors.
Note that for static_offset, it is set in SeqMemOptimizer::plan_chunk_allocation() and accessed in VarNodeMemManager::make_static_var_tensor_from_alloc_plan()
whether memory is not allocated yet
whether memory comes from owner_var->dev_tensor()
whether memory is statically allocated