Re: [PATCH 3/4] openmp: Add IFN_GOMP_MAX_VF

2024-11-06 Thread Jakub Jelinek
On Wed, Nov 06, 2024 at 03:27:21PM +, Andrew Stubbs wrote: > Delay omp_max_vf call until after the host and device compilers have diverged > so that the max_vf value can be tuned exactly right on both variants. > > This change means that the ompdevlow pass must be enabled for functions that >

[PATCH 3/4] openmp: Add IFN_GOMP_MAX_VF

2024-11-06 Thread Andrew Stubbs
Delay omp_max_vf call until after the host and device compilers have diverged so that the max_vf value can be tuned exactly right on both variants. This change means that the ompdevlow pass must be enabled for functions that use OpenMP directives with both "simd" and "schedule" enabled. gcc/Chang