Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gussmith23 committed Apr 20, 2019
1 parent e695465 commit dabbad5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/codegen/custom_datatypes/registry.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* \brief Custom datatypes registry
*/

#ifndef SRC_CODEGEN_CUSTOM_DATATYPES_REGISTRY_H_
#define SRC_CODEGEN_CUSTOM_DATATYPES_REGISTRY_H_
#ifndef TVM_CODEGEN_CUSTOM_DATATYPES_REGISTRY_H_
#define TVM_CODEGEN_CUSTOM_DATATYPES_REGISTRY_H_

#include <tvm/runtime/packed_func.h>
#include <tvm/runtime/registry.h>
Expand Down Expand Up @@ -98,4 +98,4 @@ DEFINE_GET_LOWER_FUNC_(GE)
} // namespace custom_datatypes
} // namespace tvm

#endif // SRC_CODEGEN_CUSTOM_DATATYPES_REGISTRY_H_
#endif // TVM_CODEGEN_CUSTOM_DATATYPES_REGISTRY_H_
6 changes: 3 additions & 3 deletions src/runtime/custom_datatypes_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
* \file tvm/src/runtime/custom_datatypes_util.h
* \brief Custom datatype lookup functions needed by runtime
*/
#ifndef SRC_RUNTIME_CUSTOM_DATATYPES_UTIL_H_
#define SRC_RUNTIME_CUSTOM_DATATYPES_UTIL_H_
#ifndef TVM_RUNTIME_CUSTOM_DATATYPES_UTIL_H_
#define TVM_RUNTIME_CUSTOM_DATATYPES_UTIL_H_

#include <string>

std::string GetTypeName(uint8_t type_code);
uint8_t GetTypeCode(const std::string& type_name);
bool GetTypeRegistered(uint8_t type_code);

#endif // SRC_RUNTIME_CUSTOM_DATATYPES_UTIL_H_
#endif // TVM_RUNTIME_CUSTOM_DATATYPES_UTIL_H_

0 comments on commit dabbad5

Please sign in to comment.