Skip to content

Commit

Permalink
#1623 Minor updates done during training.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiker committed Oct 18, 2024
1 parent 79667ff commit 2cbf3d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions tutorial/training/lfric/4.2/openmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,11 @@

def trans(psy):
'''
Take the supplied psy object, and fuse the first two loops
Take the supplied psy object, add openmp directives
:param psy: the PSy layer to transform.
:type psy: :py:class:`psyclone.psyGen.PSy`
:returns: the transformed PSy object.
:rtype: :py:class:`psyclone.psyGen.PSy`
'''
omp_parallel = OMPParallelTrans()
Expand Down
6 changes: 2 additions & 4 deletions tutorial/training/lfric/4.4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ Running PSyclone with the OpenMP transformation script:


## Hands-on
First of all, the kernel needs to be completed. All the meta-data, subroutine declaration
and even loops are already there, but you still need to add the computation. Once this is
done, you can run `make compile` to compile and link your example and execute it. The
output should be:
Use the


Mesh has 5 layers.
20240917233109.668+1000:INFO : Min/max minmax of field_3 = 0.80000000E+01 0.80000000E+01
Expand Down

0 comments on commit 2cbf3d0

Please sign in to comment.