Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Category
Execute Infrastructure
PR Types
Improvements
Description
优化自定义算子的编译,从串行编译改为并行编译,创建一个线程池,利用上所有的cpu core count编译并行编译所有的文件,原来是一个个串行编译。改为并行编译遇到很多编译问题,定位原因发现,单线程下每次都会根据文件的名字判断是用nvcc,或者hipcc还是gcc来编译,最后又回切换成gcc,单线程下是不会有问题的,但是多线程下就会出现用nvcc去编译.cc文件导致报错
To do
解决增量编译问题
pcard-67164