Skip to content

Commit

Permalink
#12 tweaks to acc transformation script for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
arporter committed Jun 5, 2018
1 parent f9cde50 commit 14b5f3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ocean/nemo/nemolite2d/psykal/nemolite2d_acc_transform.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import print_function

'''Python script intended to be passed to PSyclone's generate()
funcation via the -s option. Performs OpenACC transformations. '''
Expand Down Expand Up @@ -39,8 +40,8 @@ def trans(psy):
api=API,
invoke_name="invoke")
PSY = PSyFactory(API).create(INVOKEINFO)
# print PSY.invokes.names
# print(PSY.invokes.names)

NEW_PSY = trans(PSY)

print NEW_PSY.gen
print(NEW_PSY.gen)

0 comments on commit 14b5f3c

Please sign in to comment.