Skip to content

error: OpenMP array shaping operation is not allowed here #34

Description

@jinz2014

I tried amdclang to compile the program array_shaping.1.c, and got the error message

array_shaping.1.c:28:39: error: OpenMP array shaping operation is not allowed here
28 | #pragma omp target update from( (([nx][ny+2])a)[0:nx][1],
| ^
array_shaping.1.c:29:39: error: OpenMP array shaping operation is not allowed here
29 | (([nx][ny+2])a)[0:nx][ny] )
| ^

Can you suggest which compilers and options for the program ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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