我要评分
获取效率
正确性
完整性
易理解

The Linear Clause and Chucked Dynamic Schedule Clause Cannot Be Used Together

When the linear clause and chucked dynamic schedule clause are used together, OpenMP does not support thread scheduling in this scenario. As a result, the value of the linear variable of the loop after running is incorrect.

This scenario has been pulled to the community (https://github.com/llvm/llvm-project/issues/61230) and is waiting for the community to rectify the fault.

The workaround is to use other clauses or do not use chucked dynamic schedule.