Fix: Add explicit #include <omp.h> for OpenMP compatibility on certain toolchains (#24951)

Signed-off-by: lyd1992 <liuyudong@iscas.ac.cn>
Signed-off-by: ihb2032 <1355790728@qq.com>
This commit is contained in:
ihb2032 2025-09-18 17:43:23 +08:00 committed by GitHub
parent 29283e8976
commit 4f02b77de4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,4 +17,8 @@
#warning "unsupported vLLM cpu implementation"
#endif
#ifdef _OPENMP
#include <omp.h>
#endif
#endif