tvm
Public Member Functions | List of all members
tvm::SEScopeCache Class Reference

A cache of SEScopes. This can be used: More...

#include <se_scope.h>

Collaboration diagram for tvm::SEScopeCache:

Public Member Functions

SEScope Make (DLDeviceType device_type=kInvalidDeviceType, int virtual_device_id=-1, Target target={}, MemoryScope memory_scope={})
 Returns the unique SEScope representing given fields. More...
 
SEScope Unique (const SEScope &scope)
 Returns the unique SEScope structurally equal to the given se_scope. More...
 

Detailed Description

A cache of SEScopes. This can be used:

Member Function Documentation

◆ Make()

SEScope tvm::SEScopeCache::Make ( DLDeviceType  device_type = kInvalidDeviceType,
int  virtual_device_id = -1,
Target  target = {},
MemoryScope  memory_scope = {} 
)

Returns the unique SEScope representing given fields.

◆ Unique()

SEScope tvm::SEScopeCache::Unique ( const SEScope scope)

Returns the unique SEScope structurally equal to the given se_scope.


The documentation for this class was generated from the following file: