You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix(GPU): fix compilation errors for GPU build with CUDA
- Add unique_cuda_ptr and unique_host_ptr RAII wrappers in cuda.h
used by cusolver.h for automatic GPU/host memory management
- Fix libxc_abacus.h declarations: add missing hybrid_alpha and
hse_omega parameters to init_func, v_xc_libxc, v_xc_meta,
xc_spin_libxc, gcxc_libxc, gcxc_spin_libxc, tau_xc, tau_xc_spin
to match their implementations
- Fix GPU stress_op.h DeltaSpin: add missing isk parameter to
match implementation and caller
- Fix GPU force_op.h/cu/hip.cu DeltaSpin: remove isk parameter
that was absent from CPU version and not passed by caller
- Fix test CMakeLists: add missing source files for linking
(psi_paging.cpp, spin_constrain.cpp, xc_functional_gga_noncol_sf_builtin.cpp)
- Fix spin_constrain_test: update set_input_parameters call to
include new sc_acceleration_mode and sc_acceleration_rms_thr params
Verified paged mode (device_memory_mode=paged) produces identical
energy to full_gpu mode on a 2x2x2 k-point PW test case.
0 commit comments