Skip to content

Commit

Permalink
Copied over gvhf-rys to gvhf-mixed-precision folder, set as a startin…
Browse files Browse the repository at this point in the history
…g point
  • Loading branch information
henryw7 committed Feb 12, 2025
1 parent 3ec4ae6 commit 7a6c92e
Show file tree
Hide file tree
Showing 16 changed files with 74,543 additions and 2 deletions.
1 change: 1 addition & 0 deletions gpu4pyscf/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ endif()

add_subdirectory(gvhf-rys)
add_subdirectory(gvhf-md)
add_subdirectory(gvhf-mixed-precision)
add_subdirectory(pbc)

option(BUILD_LIBXC "Using libxc for DFT" ON)
Expand Down
12 changes: 12 additions & 0 deletions gpu4pyscf/lib/gvhf-mixed-precision/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --ptxas-options=-v")# -maxrregcount=128")

add_library(gvhf_mixed_precision SHARED
rys_contract_jk.cu rys_jk_driver.cu rys_roots_dat.cu
unrolled_os.cu unrolled_rys.cu
)

set_target_properties(gvhf_mixed_precision PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}
CUDA_SEPARABLE_COMPILATION ON)

target_link_libraries(gvhf_mixed_precision OpenMP::OpenMP_C)
Loading

0 comments on commit 7a6c92e

Please sign in to comment.