Commit 4168889a authored by haoshuang's avatar haoshuang

add the hungarian algorithm compiling

parent 663258c4
cmake_minimum_required(VERSION 3.0.2)
project(jfx_tracking)
set(KF_CUDA OFF)
set(KF_CUDA ON)
set(QICHECHENG OFF)
set(NSIGHT OFF)
set(USING_UTM_POS ON)
enable_language(CUDA)
#SET(CMAKE_BUILD_TYPE "Debug")
SET(CMAKE_BUILD_TYPE "Release")
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb")
......@@ -142,7 +143,8 @@ set(CUDA_NVCC_PLAGS ${CUDA_NVCC_PLAGS};-std=c++11;-g;-G;-gencode;arch=compute_75
include_directories(${PROJECT_SOURCE_DIR}/src/BaseTracker/kf_gpu)
cuda_add_library(kf_cuda SHARED
src/BaseTracker/kf_gpu/bev_overlap_online.cu
src/BaseTracker/kf_gpu/kalman_update_batch_online.cu)
src/BaseTracker/kf_gpu/kalman_update_batch_online.cu
src/BaseTracker/hungarian_gpu/hungarian_cuda.cu)
target_link_libraries(kf_cuda cudart cublas)
endif()
......@@ -153,6 +155,7 @@ include_directories(
src/tracker
src/BaseTracker
src/BaseTracker/kf_gpu
src/BaseTracker/hungarian
src/log
src/common
src/coordinate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment