Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wweic committed Nov 15, 2019
1 parent 50133b7 commit f2812fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/tvm/runtime/container.h
Expand Up @@ -23,8 +23,8 @@
*/
#ifndef TVM_RUNTIME_CONTAINER_H_
#define TVM_RUNTIME_CONTAINER_H_

#include <tvm/runtime/object.h>
#include <vector>

namespace tvm {
namespace runtime {
Expand Down
2 changes: 1 addition & 1 deletion include/tvm/runtime/memory.h
Expand Up @@ -126,7 +126,7 @@ class SimpleObjAllocator :

template<typename... Args>
static T* NewWithExtraSpace(SimpleObjAllocator*, size_t extra, Args&&... args) {
// TODO: use aligned_alloc in the future
// TODO(wweic): use aligned_alloc in the future
void* data = std::malloc(sizeof(T) + extra);
new (data) T(std::forward<Args>(args)...);
return reinterpret_cast<T*>(data);
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/container.cc
Expand Up @@ -21,8 +21,8 @@
* \brief POD container type implementations.
*/
#include <dmlc/logging.h>
#include <cstdint>
#include <tvm/runtime/container.h>
#include <cstdint>
#include "object_internal.h"
#include "runtime_base.h"

Expand All @@ -49,6 +49,6 @@ ADT::ADT(uint32_t tag, std::vector<ObjectRef> fields) {
ADT ADT::Tuple(std::vector<ObjectRef> fields) {
return ADT(0, fields);
}

} // namespace runtime
} // namespace tvm

0 comments on commit f2812fe

Please sign in to comment.