Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MLIR][OpenMP] Introduce host_eval clause to omp.target #178

Open
wants to merge 1 commit into
base: amd-trunk-dev
Choose a base branch
from

Commits on Oct 11, 2024

  1. [MLIR][OpenMP] Introduce host_eval clause to omp.target

    This patch defines a map-like clause named `host_eval` used to capture host
    values for use inside of target regions on restricted cases:
      - As `num_teams` or `thread_limit` of a nested `omp.target` operation.
      - As `num_threads` of a nested `omp.parallel` operation or as bounds or steps
    of a nested `omp.loop_nest`, if it is a target SPMD kernel.
    
    This replaces the following `omp.target` arguments: `trip_count`,
    `num_threads`, `num_teams_lower`, `num_teams_upper` and `teams_thread_limit`.
    skatrak committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    719e50c View commit details
    Browse the repository at this point in the history