Skip to content

Commit

Permalink
move logging.h to src
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfu committed Apr 3, 2020
1 parent 24bf74d commit 30a50f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/runtime/crt/graph_runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
* \brief implement graph runtime in pure C
*/

#include <tvm/runtime/crt/logging.h>
#include <tvm/runtime/crt/memory.h>

#include "logging.h"
#include "graph_runtime.h"

#ifndef MAX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/*!
* \file tvm/runtime/crt/loggin.h
* \file runtime/crt/loggin.h
* \brief A replacement of the dmlc logging system that avoids
* the usage of GLOG and C++ headers
*/
Expand Down
3 changes: 2 additions & 1 deletion src/runtime/crt/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
*/

#include <tvm/runtime/c_runtime_api.h>
#include <tvm/runtime/crt/logging.h>
#include <tvm/runtime/crt/memory.h>

#include <inttypes.h>

#include "logging.h"

/*! Number of bits in a page */
#define TVM_CRT_PAGE_BITS (TVM_CRT_PAGE_BYTES << 3)

Expand Down

0 comments on commit 30a50f6

Please sign in to comment.