Test patches from NVHPC#86
Conversation
… reduce code duplication
…t fine grained enough for a very strict test
…o a missing declaration
…est for refactored devtest
…are.h and fixing associated tests
…le isn't needed, and some misc fixes
… is column-major; also updating devtest usage
This reverts commit ed23f08.
|
@alisterj1138 |
|
Great, thank you! I looked at the 8 failures and they're all ones we know about and are tracking -- they're expected failures with 25.3. Please let me know if you have any questions! |
|
@alisterj1138 The compiler does not accept the logic comparison with .eq. and wants .eqv. to be used in common.Fh For Cray Fortran : Version 18.0.0: The nvfortran compiler does not yield these errors. I would recommend the changes which gfortran and ftn suggest should be applied to the .Fh files in order to ensure that correct fortran syntax is being used. |
|
Thanks for checking these fixes! I've fixed the headers to use .EQV./.NEQV. instead. I was able to test with gfortran and I'm fairly confident they should be good now. (There was also a typo/bug in one of the defines, so I fixed that too.) There were also a couple tests that needed the same fix (many thanks to one of my coworkers for spotting them), so I included that fix as well. |
| #define MIN_X_EXPR_LIST 1004 | ||
|
|
||
| #if ATOMIC_OPTYPE == EXPR_PLUS_X | ||
| #define ATOMIC_OP(a, b) (a + b) |
There was a problem hiding this comment.
| #define ATOMIC_OP(a, b) (a + b) | |
| #define ATOMIC_OP(a, b) a + b |
and all other associated ADD expressions
| #if ATOMIC_OPTYPE == EXPR_PLUS_X | ||
| #define ATOMIC_OP(a, b) (a + b) | ||
| #elif ATOMIC_OPTYPE == EXPR_MINUS_X | ||
| #define ATOMIC_OP(a, b) (a - b) |
There was a problem hiding this comment.
| #define ATOMIC_OP(a, b) (a - b) | |
| #define ATOMIC_OP(a, b) a - b |
and all other associated MINUS expressions
| #elif ATOMIC_OPTYPE == EXPR_MINUS_X | ||
| #define ATOMIC_OP(a, b) (a - b) | ||
| #elif ATOMIC_OPTYPE == EXPR_TIMES_X | ||
| #define ATOMIC_OP(a, b) (a * b) |
There was a problem hiding this comment.
| #define ATOMIC_OP(a, b) (a * b) | |
| #define ATOMIC_OP(a, b) a * b |
and all other associated TIMES expressions
| #elif ATOMIC_OPTYPE == EXPR_TIMES_X | ||
| #define ATOMIC_OP(a, b) (a * b) | ||
| #elif ATOMIC_OPTYPE == EXPR_DIVIDED_X | ||
| #define ATOMIC_OP(a, b) (a / b) |
There was a problem hiding this comment.
| #define ATOMIC_OP(a, b) (a / b) | |
| #define ATOMIC_OP(a, b) a / b |
and all other associated DIVIDE expressions
|
@alisterj1138 |
|
I'm starting to go through all the comments today (thank you for going through everything so thoroughly!), I'll mark them resolved as I fix them and push the commit(s) once I'm done with everything. |
Hello! Here are several updates and fixes for the tests. I did my best to keep the commits as independent and granular as possible, so if you want, you can hopefully cherry pick them without issue.
Most of the changes are fairly minor, here's a list of the ones that aren't:
If you have questions about any of these edits, please let me know! Thanks again for this test suite!