Skip to content

Commit

Permalink
Merge pull request #128 from ONNC/fix-vanilla-backend
Browse files Browse the repository at this point in the history
Fix Vanilla backend on cmake.
  • Loading branch information
cthsieh committed Feb 21, 2019
2 parents 93cbca8 + a3c5565 commit 1113f46
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/onnc/Config/Config.h.cmake.in
Expand Up @@ -24,6 +24,9 @@
/* define x86_64 target */
#cmakedefine ENABLE_X86_TARGET 1

/* define vanilla target */
#cmakedefine ENABLE_VANILLA_TARGET 1

/* define nvdla target */
#cmakedefine ENABLE_NVDLA_TARGET 1

Expand Down
1 change: 1 addition & 0 deletions lib/IR/CMakeLists.txt
Expand Up @@ -16,6 +16,7 @@ add_libonnc_src(
ONNXUtils.cpp
IRBuilder.cpp
Quadruple.cpp
CodeEmit.cpp
Compute/ATen.cpp
Compute/Abs.cpp
Compute/Acos.cpp
Expand Down
6 changes: 6 additions & 0 deletions lib/Target/Vanilla/CMakeLists.txt
@@ -0,0 +1,6 @@

add_libonnc_src(
VanillaBackend.cpp
CodeEmitVisitor.cpp
TargetInfo/VanillaTargetInfo.cpp
TargetInfo/VanillaTargetMemInfo.cpp)

0 comments on commit 1113f46

Please sign in to comment.