TVM  0.9.4
memoryChecks.h File Reference
#include <tvm/api.h>
#include <Eigen/Core>
Include dependency graph for memoryChecks.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tvm
 
 tvm::utils
 
 tvm::utils::internal
 

Macros

#define TVM_TEMPORARY_ALLOW_EIGEN_MALLOC(x)
 

Functions

TVM_DLLAPI bool tvm::utils::internal::is_malloc_allowed_ ()
 
TVM_DLLAPI bool tvm::utils::internal::set_is_malloc_allowed_ (bool allow)
 
TVM_DLLAPI void tvm::utils::internal::override_is_malloc_allowed_ (bool v)
 
TVM_DLLAPI void tvm::utils::internal::restore_is_malloc_allowed_ ()
 
void tvm::utils::internal::check_malloc_coherency ()
 
void tvm::utils::internal::enforce_malloc_coherency ()
 
bool tvm::utils::is_malloc_allowed ()
 
bool tvm::utils::set_is_malloc_allowed (bool allow)
 
void tvm::utils::override_is_malloc_allowed (bool allow)
 
void tvm::utils::restore_is_malloc_allowed ()
 

Macro Definition Documentation

◆ TVM_TEMPORARY_ALLOW_EIGEN_MALLOC

#define TVM_TEMPORARY_ALLOW_EIGEN_MALLOC (   x)
Value:
x; \
void restore_is_malloc_allowed()
Definition: memoryChecks.h:77
void override_is_malloc_allowed(bool allow)
Definition: memoryChecks.h:69