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

Explain dependences and how to compile generated files in README #342

Open
developedby opened this issue May 23, 2024 · 4 comments
Open
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@developedby
Copy link
Member

The README should explain what are the dependencies for HVM for the 3 runtimes (c11 compiler + pthreads + unix time.h for hvm-c and cuda+nvcc 12.x for hvm-cuda).

It should also have instructions for compiling the generated C files (gcc file -O file -lm -lpthread) and cuda files (i don't know the command).

@kings177
Copy link
Member

yes, nice remembering this, also, for gcc it should be -O2

@enricozb
Copy link
Contributor

Any special flags for nvcc?

@kings177
Copy link
Member

kings177 commented May 23, 2024

nvcc -w -O3 -w for suppressing warnings and -O3 for the optimizations

@enricozb
Copy link
Contributor

thanks

@kings177 kings177 added documentation Improvements or additions to documentation enhancement New feature or request labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants