Skip to content

Commit

Permalink
import span to speed up
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanallen committed Nov 5, 2020
1 parent 8db5b32 commit bfd7bfe
Show file tree
Hide file tree
Showing 3 changed files with 598 additions and 6 deletions.
5 changes: 4 additions & 1 deletion examples/eager_op_multithread/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ find_library(TENSORFLOW_LIB tensorflow HINT $ENV{HOME}/libtensorflow2/lib)
find_package(Threads REQUIRED)

set(CMAKE_CXX_STANDARD 17)
#set(CMAKE_CXX_STANDARD 20)


#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fsanitize=thread")
#set(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -fno-omit-frame-pointer -fsanitize=thread")

add_executable(example main.cpp)
target_include_directories(example PRIVATE ../../include $ENV{HOME}/libtensorflow2/include)
target_link_libraries(example "${TENSORFLOW_LIB}" Threads::Threads)
target_link_libraries (example "${TENSORFLOW_LIB}")
target_link_libraries(example "${TENSORFLOW_LIB}" Threads::Threads)
Loading

0 comments on commit bfd7bfe

Please sign in to comment.