Skip to content

Commit

Permalink
sita model support
Browse files Browse the repository at this point in the history
  • Loading branch information
unsky committed Aug 6, 2018
1 parent 8705f84 commit e1d7687
Show file tree
Hide file tree
Showing 40 changed files with 3,959 additions and 624 deletions.
439 changes: 226 additions & 213 deletions .idea/workspace.xml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ set(SITA_FILES
main.cpp
src/sita/stuff/memory_control.cpp
src/sita/stuff/tensor.cpp
# src/sita/protos/sita.pb.cc
src/sita/proto/sita.pb.cc
src/sita/stuff/operators/add_op.cpp
src/sita/stuff/workspace.cpp
src/sita/stuff/operator.cpp
src/sita/stuff/graph.cpp
src/sita/stuff/io_protobuff.cpp
)


Expand Down
46 changes: 23 additions & 23 deletions build/CMakeFiles/CMakeError.log
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/cs/Desktop/cs_work/sita/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_db114/fast"
/usr/bin/make -f CMakeFiles/cmTC_db114.dir/build.make CMakeFiles/cmTC_db114.dir/build
Run Build Command:"/usr/bin/make" "cmTC_95e98/fast"
/usr/bin/make -f CMakeFiles/cmTC_95e98.dir/build.make CMakeFiles/cmTC_95e98.dir/build
make[1]: Entering directory '/home/cs/Desktop/cs_work/sita/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_db114.dir/CheckSymbolExists.c.o
/usr/bin/cc -fPIC -o CMakeFiles/cmTC_db114.dir/CheckSymbolExists.c.o -c /home/cs/Desktop/cs_work/sita/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_db114
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_db114.dir/link.txt --verbose=1
/usr/bin/cc -fPIC CMakeFiles/cmTC_db114.dir/CheckSymbolExists.c.o -o cmTC_db114
CMakeFiles/cmTC_db114.dir/CheckSymbolExists.c.o: In function `main':
Building C object CMakeFiles/cmTC_95e98.dir/CheckSymbolExists.c.o
/usr/bin/cc -fPIC -o CMakeFiles/cmTC_95e98.dir/CheckSymbolExists.c.o -c /home/cs/Desktop/cs_work/sita/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_95e98
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_95e98.dir/link.txt --verbose=1
/usr/bin/cc -fPIC CMakeFiles/cmTC_95e98.dir/CheckSymbolExists.c.o -o cmTC_95e98
CMakeFiles/cmTC_95e98.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_db114.dir/build.make:97: recipe for target 'cmTC_db114' failed
make[1]: *** [cmTC_db114] Error 1
CMakeFiles/cmTC_95e98.dir/build.make:97: recipe for target 'cmTC_95e98' failed
make[1]: *** [cmTC_95e98] Error 1
make[1]: Leaving directory '/home/cs/Desktop/cs_work/sita/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_db114/fast' failed
make: *** [cmTC_db114/fast] Error 2
Makefile:126: recipe for target 'cmTC_95e98/fast' failed
make: *** [cmTC_95e98/fast] Error 2

File /home/cs/Desktop/cs_work/sita/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
Expand All @@ -36,20 +36,20 @@ int main(int argc, char** argv)
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/cs/Desktop/cs_work/sita/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_2d003/fast"
/usr/bin/make -f CMakeFiles/cmTC_2d003.dir/build.make CMakeFiles/cmTC_2d003.dir/build
Run Build Command:"/usr/bin/make" "cmTC_7beb3/fast"
/usr/bin/make -f CMakeFiles/cmTC_7beb3.dir/build.make CMakeFiles/cmTC_7beb3.dir/build
make[1]: Entering directory '/home/cs/Desktop/cs_work/sita/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2d003.dir/CheckFunctionExists.c.o
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_2d003.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_2d003
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2d003.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_2d003.dir/CheckFunctionExists.c.o -o cmTC_2d003 -lpthreads
Building C object CMakeFiles/cmTC_7beb3.dir/CheckFunctionExists.c.o
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_7beb3.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_7beb3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7beb3.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_7beb3.dir/CheckFunctionExists.c.o -o cmTC_7beb3 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_2d003.dir/build.make:97: recipe for target 'cmTC_2d003' failed
make[1]: *** [cmTC_2d003] Error 1
CMakeFiles/cmTC_7beb3.dir/build.make:97: recipe for target 'cmTC_7beb3' failed
make[1]: *** [cmTC_7beb3] Error 1
make[1]: Leaving directory '/home/cs/Desktop/cs_work/sita/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2d003/fast' failed
make: *** [cmTC_2d003/fast] Error 2
Makefile:126: recipe for target 'cmTC_7beb3/fast' failed
make: *** [cmTC_7beb3/fast] Error 2


Loading

0 comments on commit e1d7687

Please sign in to comment.