Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation to run unit-test through Intellij #445

Closed

Conversation

mikepapadim
Copy link
Member

Description

Add entry to documentation to explain the cofiguration for running unit-tests through Intellij.

Backend/s tested

Mark the backends affected by this PR.

  • OpenCL
  • PTX
  • SPIRV

OS tested

Mark the OS where this PR is tested.

  • Linux
  • OSx
  • Windows

Did you check on FPGAs?

If it is applicable, check your changes on FPGAs.

  • Yes
  • No

@mikepapadim mikepapadim added the documentation Documentation label Jun 7, 2024
@mikepapadim mikepapadim self-assigned this Jun 7, 2024
docs/source/ide-integration.rst Outdated Show resolved Hide resolved
docs/source/ide-integration.rst Show resolved Hide resolved
@@ -115,8 +115,8 @@ Output should be something similar to this:

.. code:: bash

/PATH_TO_JDK/jdk1.8.0_131/bin/java
Copy link
Collaborator

@stratika stratika Jun 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 69-71 the right click > create tornadovm [package] does not seem to exist any more. Can we please update also those instructions?

@@ -115,8 +115,8 @@ Output should be something similar to this:

.. code:: bash

/PATH_TO_JDK/jdk1.8.0_131/bin/java
-server -XX:-UseJVMCIClassLoader -XX:-UseCompressedOops -Djava.ext.dirs=/home/michalis/Tornado/tornado/bin/sdk/share/java/tornado -Djava.library.path=/home/michalis/Tornado/tornado/bin/sdk/lib -Dtornado.load.api.implementation=uk.ac.manchester.tornado.runtime.tasks.TornadoTaskGraph -Dtornado.load.runtime.implementation=uk.ac.manchester.tornado.runtime.TornadoCoreRuntime -Dtornado.load.tornado.implementation=uk.ac.manchester.tornado.runtime.common.Tornado -Dtornado.load.device.implementation.opencl=uk.ac.manchester.tornado.drivers.opencl.runtime.OCLDeviceFactory -Dtornado.load.device.implementation.ptx=uk.ac.manchester.tornado.drivers.ptx.runtime.PTXDeviceFactory
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 76-90 please update the cmake version and the jdk-8 profile to match the current version/profiles.

docs/source/ide-integration.rst Outdated Show resolved Hide resolved
docs/source/ide-integration.rst Outdated Show resolved Hide resolved
docs/source/ide-integration.rst Outdated Show resolved Hide resolved
docs/source/ide-integration.rst Outdated Show resolved Hide resolved
uk.ac.manchester.tornado.unittests.tools.TornadoTestRunner
- **Parameters**
uk.ac.manchester.tornado.unittests.foundation.TestFloats#testVectorFloatAdd
- **VM Options:** What you copied from ``-server`` and on
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you main to the end?

- **Parameters**
uk.ac.manchester.tornado.unittests.foundation.TestFloats#testVectorFloatAdd
- **VM Options:** What you copied from ``-server`` and on
- **Working Directory:** ``/home/tornadovm``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be <TORNADO_ROOT>

@jjfumero
Copy link
Member

@mikepapadim , is this PR still going?

@mikepapadim
Copy link
Member Author

@mikepapadim , is this PR still going?

let me do another pass, so we can merge it

mikepapadim and others added 2 commits July 25, 2024 18:25
@stratika
Copy link
Collaborator

I will close this PR, after merging PRs #582 #583

@stratika stratika closed this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants