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

[GrCUDA-HOTFIX] fix install and benchmarks #20

Merged
merged 5 commits into from
Sep 26, 2021

Conversation

AlbertoParravicini
Copy link
Member

Fixing GRCUDA-67 and GRCUDA-68

  • Fixed install dir of .jar
  • Fixed outdated makefile for CUDA benchmarks
  • Fixed py benchmarks not creating results folder

README.md Outdated
@@ -336,6 +336,12 @@ Run all benchmarks
graalpython --jvm --polyglot benchmark_wrapper.py -d -i 30
```

To run the CUDA version of all benchmarks, build it as follows. You might want to update the GPU architecture inside `$GRCUDA_HOME/projects/resources/cuda/Makefile` to reflect the hardware at your disposal.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it's just $GRCUDA_HOME/projects/resources/cuda

cd $GRCUDA_HOME/projects/resources/cuda;
make
```

Run the CUDA version of all benchmarks
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should add the location: $GRCUDA_HOME/projects/resources/python/benchmark

Copy link
Collaborator

@gwdidonato gwdidonato left a comment

Choose a reason for hiding this comment

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

I made a clean build, and everything work fine.
Both single benchmarks and the wrapper work properly, both in the python and the cuda versions.
I have added a couple of comments in the readme to be fixed.
Also, from students' experience I suggest to refer to the grcuda/oci_setup/setup_machine_from_scratch.sh script in the readme, if following instructions in the readme didn't work properly.

@AlbertoParravicini AlbertoParravicini merged commit 9c9a357 into master Sep 26, 2021
@AlbertoParravicini AlbertoParravicini deleted the GRCUDA-HOTFIX-fix-install-and-benchmarks branch September 26, 2021 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants