This patch strengthens the tests introduced in D63009 by:
- adding new test for default device ID.
- modifying existing tests to pass device ID local variable to the task allocation function.
Paths
| Differential D63454
[OpenMP] Strengthen regression tests for task allocation under nowait depend clauses NFC ClosedPublic Authored by gtbercea on Jun 17 2019, 12:52 PM.
Details
Summary This patch strengthens the tests introduced in D63009 by:
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jun 19 2019, 6:42 AM Closed by commit rL363809: [OpenMP] Strengthen regression tests for task allocation under nowait depend… (authored by gbercea). · Explain WhyJun 19 2019, 7:24 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 205186 test/OpenMP/target_constant_device_codegen.cpp
test/OpenMP/target_depend_codegen.cpp
test/OpenMP/target_enter_data_depend_codegen.cpp
test/OpenMP/target_exit_data_depend_codegen.cpp
test/OpenMP/target_parallel_depend_codegen.cpp
test/OpenMP/target_parallel_for_depend_codegen.cpp
test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
test/OpenMP/target_simd_depend_codegen.cpp
test/OpenMP/target_teams_depend_codegen.cpp
test/OpenMP/target_teams_distribute_depend_codegen.cpp
test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
test/OpenMP/target_update_depend_codegen.cpp
|
I think you only need these 3 lines (although not really sure about the PCH).