Skip to content

Runtime grain size support #54

@qtt2

Description

@qtt2

Hi,

I'm trying to tune grain size in my application that uses cilk_for. Is there a reason why the grain size in #pragma cilk grainsize(grain_size) needs to be a constant expression? As far as I know, previous implementation of cilkplus by Intel did allow the expression to be evaluated at runtime.

Is there a way to set the grain size at runtime? Thank you very much!

Tuan

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