CMakeLists.txt 587 字节
Newer Older
Y
Yan Chunwei 已提交
1 2 3 4 5 6
if (NOT LITE_WITH_X86)
    return()
endif()

configure_file(cupti_lib_path.h.in ${CMAKE_CURRENT_BINARY_DIR}/cupti_lib_path.h)
configure_file(warpctc_lib_path.h.in ${CMAKE_CURRENT_BINARY_DIR}/warpctc_lib_path.h)
7 8 9 10
lite_cc_library(target_wrapper_x86 SRCS target_wrapper.cc)
if (LITE_ON_MODEL_OPTIMIZE_TOOL)
    return()
endif(LITE_ON_MODEL_OPTIMIZE_TOOL)
Y
Yan Chunwei 已提交
11
lite_cc_library(dynamic_loader SRCS dynamic_loader.cc DEPS glog gflags)
12
lite_cc_library(dynload_mklml SRCS mklml.cc DEPS dynamic_loader mklml)
13
lite_cc_library(x86_cpu_info SRCS cpu_info.cc)
Y
Yan Chunwei 已提交
14 15 16

add_subdirectory(jit)
add_subdirectory(math)