tvm
|
A cache of SEScopes
. This can be used:
More...
#include <se_scope.h>
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... | |
A cache of SEScopes
. This can be used:
SEScopes
are pointer equal if and only if they are structurally equal. This simplifies the unification of 'device domains' which are built on SEScopes
. 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.
Returns the unique SEScope
structurally equal to the given se_scope
.