Skip to content

Commit ef300fe

Browse files
author
dyzheng
committed
fix: link psi_paging.cpp into pyabacus diagopack for get_cpu_pointer_safe
Pyabacus diagopack compiles psi.cpp directly and needs psi_paging.cpp for the get_cpu_pointer_safe / set_storage_mode / load_k_to_gpu symbols.
1 parent c63f50c commit ef300fe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

python/pyabacus/src/hsolver/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ list(APPEND _diago
2020
${BASE_PATH}/module_device/memory_op.cpp
2121

2222
${PSI_PATH}/psi.cpp
23+
${PSI_PATH}/psi_paging.cpp
2324
)
2425
add_library(diagopack SHARED
2526
${_diago}

0 commit comments

Comments
 (0)