Replies: 5 comments 10 replies
-
Hi @MLobatoR . This error is due to a problem with the generated OpenCL code. Is it possible to share a test case with the Java code that you are trying to run? |
Beta Was this translation helpful? Give feedback.
-
@jjfumero Here's an example of a while cycle:
And a little example of a for loop that does not work:
Even doing nothing the I got the error. These to pieces of the code ran under another for with the annotation parallel. Va is transferred to device on first execution, and is a read-only, it never changes. Can you help me or do you need more information? Thank you in advance |
Beta Was this translation helpful? Give feedback.
-
Hi @MLobatoR. We are working on solving this issue, however, we could not reproduce it for the function you provided ( |
Beta Was this translation helpful? Give feedback.
-
Hi @MLobatoR, thank you for providing more details. We identified the issue, a fix will be provided soon. Nevertheless, we noticed that you are using an older version of TornadoVM. We highly encourage you to use the latest version, as this will include all the latest bug fixes. In the current version of TornadoVM, we are using off-heap data types instead of primitive arrays. You can find a guide for migrating your current application to the latest version of TornadoVM here: Migrating from v0.15.2 to v1.0.
Additionally, I would recommend some rewriting of your application to take advantage of the full capabilities of TornadoVM.
Secondly, I recommend you use the
I hope this helps! Let us know if something is not clear. We will notify you in this thread as soon as the fix is pushed. |
Beta Was this translation helpful? Give feedback.
-
Hi @MLobatoR, the fix has now been pushed. Have a look and let us know if there are any other issues. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm getting the following error message but I couldn't find a way to enable debug on eclipse:
Could you help me please?
Thank you in advance
ML
Beta Was this translation helpful? Give feedback.
All reactions