Skip to content

For review: Add printing of usr-defined pragmas in clast_for#17

Open
tajkhan wants to merge 1 commit intoperiscop:masterfrom
tajkhan:osl_loop_usr
Open

For review: Add printing of usr-defined pragmas in clast_for#17
tajkhan wants to merge 1 commit intoperiscop:masterfrom
tajkhan:osl_loop_usr

Conversation

@tajkhan
Copy link
Collaborator

@tajkhan tajkhan commented Jun 10, 2014

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • If we consider "#pragma" as implicit in OpenScop, print it here,
  • If the line is not >80 columns, don't break it

Something like:
if ((f->parallel & CLAST_PARALLEL_USR) && (f->usr)) {
fprintf(dst, "#pragma %s\n", f->usr);

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants