Skip to content

Use of 'n' in 'tile' in 'kernels_loop_tile.c/cpp' is ill-formed #108

@erichkeane

Description

@erichkeane

OpenACC 3.3 section 2.9.8 says: "...where each tile size is a constant positive integer expression or an asterisk".

However, every use of tile in kernels_loop_tile.c/.cpp on line ~68 uses 'n', which is not defined as a constant, just as a global variable.

Not sure what you wish to do here, but if you give guidance, I can submit a patch.

Marking it 'const' or 'constexpr' would obviously work in C++, but this obviously doesn't work in C.

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