File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -40,3 +40,4 @@ HPPL_ERROR_LOG
4040unittest.list
4141proto
4242dist
43+ setup.py
Original file line number Diff line number Diff line change 1+ set (AVX_SOURCES
2+ src/hl_math.cc
3+ src/hl_avx_functions.cc
4+ )
15set (CUDA_SOURCES
26 src/hl_time.cc
3- src/hl_math.cc
47 src/hl_cpu_functions.cc
5- src/hl_avx_functions.cc )
8+ ${AVX_SOURCES} )
69
710set (CUDA_CXX_WITH_GPU_SOURCES
811 src/hl_cuda_cublas.cc
@@ -12,7 +15,7 @@ set(CUDA_CXX_WITH_GPU_SOURCES
1215set_source_files_properties (${CUDA_CXX_WITH_GPU_SOURCES}
1316 PROPERTIES COMPILE_FLAGS "-D__NVCC__" )
1417
15- set_source_files_properties (${CUDA_SOURCES }
18+ set_source_files_properties (${AVX_SOURCES }
1619 PROPERTIES COMPILE_FLAGS "-mavx" )
1720
1821set (CUDA_DSO_SOURCES
@@ -73,4 +76,3 @@ endif()
7376
7477add_style_check_target(paddle_cuda ${CUDA_SOURCES} )
7578add_style_check_target(paddle_cuda ${CUDA_HEADERS} )
76- # add_style_check_target(hppl ${HPPL_CU_SOURCES}) # TODO(yuyang18): Format hppl style
You can’t perform that action at this time.
0 commit comments