Skip to content

extra tokens at the end of '#pragma omp target' are ignored #33

Description

@jinz2014

I tried amdclang to compile the program "async_target.5.c" and got the following warning:

warning: extra tokens at the end of '#pragma omp target' are ignored [-Wextra-tokens]
23 | #pragma omp target nowait(is_deferred) map(tofrom: x)

Running the program produces the result "Failed".

Can you suggest the compiler and options for OpenMP 6.0 support ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions