Comments (4)
For cce, i had to modify acc_testsuite.h
:
diff --git a/Tests/acc_testsuite.h b/Tests/acc_testsuite.h
index f7a4861..3362ef0 100644
--- a/Tests/acc_testsuite.h
+++ b/Tests/acc_testsuite.h
@@ -26,7 +26,11 @@
long long n = ARRAYSIZE;
#define PRECISION 1e-8
typedef double real_t;
+
+#ifndef _CRAYC
typedef enum { false, true } bool;
+#endif
+
#define ARRAYSIZE_NEW 1024
#define ARRAYSIZE_SMALL 10
from openaccv-v.
CC-10321:
I haven't taken the time to review all of these, but I cannot find any issues with the formats of the atomics. The format for the capture in the specific one you have shown the error for is found on page 36 of the OpenACC specifications and is the last item in the list of valid capture statements: v = x = expr binop x. The atomic formats allowed in the spec are the same from 2.0 on, so it is probably an issue with Cray if they are not working. If any of the tests specifically seem to have non-conforming forms of the atomic statement, please bring them to my attention. It is tricky work to evaluate 300+ different valid formats of the atomic construct.
CC-10299:
The default(present) clause that it is complaining about was not included in the specifications until version 2.5, after Cray stopped updating for new OpenACC features, so the fact that it is not compiling happy is not surprising.
CC-10302:
This one I cannot explain. The auto clause is valid on a loop construct, and since I don't see any restrictions otherwise, I assume that it can also be applied to a parallel loop construct. It was in the specifications in 2.0 and was valid in that context. My thoughts are that this might be a Cray issue.
acc_copyin_async, acc_copyout_async, acc_create_async, acc_delete_async, acc_memcpy_from_device_async, acc_memcpy_to_device_async, acc_update_device_async, acc_update_self_async:
These runtime routines were all added in the 2.5 version which added async data routines. So I'm not surprised that Cray doesn't support these either.
acc_copyin, acc_create, acc_malloc:
Each of these was already included in the OpenACC 2.0 spec. I find it interesting that the three allocation routines are having problems but not the acc_copyout, acc_delete, or the acc_free. Do you think you could give me the exact errors for these? If the issue is undefined ref, what reference is undefined in these?
acc_get_default_async, acc_set_default_async:
OpenACC 2.0 did not even have the acc-default-async-var ICV. So having routines that could modify them would also not work properly with a pure 2.0 implementation.
I really appreciate the work you did, and if you are willing, I would love to see the full list of results that you were able to gather on the Cray compiler. As they do not support 2.5 and this project is a 2.5+ testsuite, we have not looked into the performance of Cray on the testsuite, but I would be curious to see the results anyway.
from openaccv-v.
My list is here: https://docs.google.com/spreadsheets/d/178GkplDnPll9UoMBYcZPdsQDXxLZ5waKy7fZOyl_dEU/edit?usp=sharing
I will add results on the fly and reply to your question.
I agree with you, cce is not a primary target now.
from openaccv-v.
Hi,
Thank you for bringing this issue up at the time. Since Cray no longer supports C/C++ at the moment. We are going to close this issue and hope you will continue testing with the HPE Cray Fortran compiler as we are currently doing.
from openaccv-v.
Related Issues (17)
- Broken test `parallel_default_copy.c`? HOT 2
- errors about OpenACC C 1.0
- Total_host declaration
- gcc/8.2.0 compilation failures HOT 1
- Several test cases where `async` is followed by synchronous execution without intervening `wait` HOT 6
- pgi/18.10 compilation failures HOT 1
- compiler runtime error
- Feedback from NVHPC
- [Fortran] Wrong lower bound in section mapping in some tests
- [Fortran] VALUE attribute for non dummy data object
- Update for OpenACC 3.0? HOT 4
- [Fortran] Call to acc_delete with no argument
- [Fortran] Non standard use of acc routine
- [Fortran] invalid call of function like subroutine
- [Fortran] call to subroutine without CALL statement
- Copyin clause with library call syntax in acc_delete_async.f90 and acc_delete_async_with_len.f90 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openaccv-v.