Skip to content

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

@jinz2014

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions