Skip to content
Snippets Groups Projects
Commit 105a4d2d authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Fixed merge errors

parent a68443fd
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ set( ...@@ -13,7 +13,7 @@ set(
if (CMAKE_BUILD_TYPE STREQUAL "Debug") if (CMAKE_BUILD_TYPE STREQUAL "Debug")
message("Debug mode") message("Debug mode")
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};-G;-g;-lineinfo;-Xcompiler;-ggdb;-lcurand) set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};-g;-lineinfo;-Xcompiler;-ggdb;-lcurand)
else() else()
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};-DNDEBUG;-Xcompiler;-DNDEBUG;-lcurand) set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};-DNDEBUG;-Xcompiler;-DNDEBUG;-lcurand)
endif() endif()
...@@ -64,13 +64,7 @@ find_library(SOC_SIMULATOR_LIB ...@@ -64,13 +64,7 @@ find_library(SOC_SIMULATOR_LIB
target_link_libraries(tensor_runtime cudnn cufft stdc++fs -lcurand) target_link_libraries(tensor_runtime cudnn cufft stdc++fs -lcurand)
if(USE_GFLAGS) if(USE_GFLAGS)
<<<<<<< HEAD
target_link_libraries(tensor_runtime gflags cudnn -lcurand)
else()
target_link_libraries(tensor_runtime cudnn -lcurand)
=======
target_link_libraries(tensor_runtime gflags) target_link_libraries(tensor_runtime gflags)
>>>>>>> approx_hpvm_img
endif() endif()
...@@ -99,14 +93,11 @@ target_link_libraries(test_ops tensor_runtime ${GPU_PROFILER_LIB} ${SOC_SIMULAT ...@@ -99,14 +93,11 @@ target_link_libraries(test_ops tensor_runtime ${GPU_PROFILER_LIB} ${SOC_SIMULAT
add_executable(fc2_cpu dnn_sources/src/fc2_cpu.cc) add_executable(fc2_cpu dnn_sources/src/fc2_cpu.cc)
target_link_libraries(fc2_cpu tensor_cpu_runtime ${GPU_PROFILER_LIB} ${SOC_SIMULATOR_LIB}) target_link_libraries(fc2_cpu tensor_cpu_runtime ${GPU_PROFILER_LIB} ${SOC_SIMULATOR_LIB})
<<<<<<< HEAD
#-- add_executable(mio_test dnn_sources/src/mio_test.cc) #-- add_executable(mio_test dnn_sources/src/mio_test.cc)
#-- target_link_libraries(mio_test tensor_runtime ${GPU_PROFILER_LIB} ${SOC_SIMULATOR_LIB}) #-- target_link_libraries(mio_test tensor_runtime ${GPU_PROFILER_LIB} ${SOC_SIMULATOR_LIB})
=======
>>>>>>> approx_hpvm_img
# Full-Precision versions # Full-Precision versions
#-- add_executable(lenet_tanh dnn_sources/src/lenet2_tanh.cc) #-- add_executable(lenet_tanh dnn_sources/src/lenet2_tanh.cc)
#-- target_link_libraries(lenet_tanh tensor_runtime ${GPU_PROFILER_LIB} ${SOC_SIMULATOR_LIB}) #-- target_link_libraries(lenet_tanh tensor_runtime ${GPU_PROFILER_LIB} ${SOC_SIMULATOR_LIB})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment