Skip to content

给特征值求解器核心向量运算补上 OpenMP 多线程并行化#373

Open
Absolutely-Daisy wants to merge 1 commit into
abacusmodeling:developfrom
Absolutely-Daisy:feature/openmp-hsolver
Open

给特征值求解器核心向量运算补上 OpenMP 多线程并行化#373
Absolutely-Daisy wants to merge 1 commit into
abacusmodeling:developfrom
Absolutely-Daisy:feature/openmp-hsolver

Conversation

@Absolutely-Daisy

Copy link
Copy Markdown

Reminder

  • Have you linked an issue with this pull request?
  • Have you added adequate unit tests and/or case tests for your pull request?
  • Have you noticed possible changes of behavior below or in the linked issue?
  • Have you explained the changes of codes in core modules of ESolver, HSolver, ElecState, Hamilt, Operator or Psi? (ignore if not applicable)

Linked Issue

Fix #...

Unit Tests and/or Case Tests for my changes

  • A unit test is added for each new feature or bug fix.

What's changed?

  • Example: My changes might affect the performance of the application under certain conditions, and I have tested the impact on various scenarios...

Any changes of core modules? (ignore if not applicable)

  • Example: I have added a new virtual function in the esolver base class in order to ...

@Absolutely-Daisy Absolutely-Daisy force-pushed the feature/openmp-hsolver branch 2 times, most recently from de609b4 to 42b0b29 Compare June 26, 2026 08:58
math_kernel_op_vec.cpp 里几个向量运算的 OpenMP 还用的是裸 #pragma omp parallel for,
项目里 memory_op 早换成 OMP_PARALLEL+BLOCK_TASK_DIST_1D 了,顺手统一了一下。
Davidson 里两段 O(n^2) 的矩阵拷贝循环也补了并行化。
diago_cg.cpp 加了 tool_threading.h 以备后续使用。
@Absolutely-Daisy Absolutely-Daisy force-pushed the feature/openmp-hsolver branch from 42b0b29 to 3ac0c7e Compare June 26, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant