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

Some changes about the dynamic libraries generated by gpu.cpp project and header-only source code 'gpu.hpp' #64

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

buttfa
Copy link
Contributor

@buttfa buttfa commented Sep 27, 2024

feat: 1. Modified the 'lib' rule in the Makefile file located in the root directory of the project, allowing it to generate gpu.cpp dynamic libraries with different suffixes based on the system.
      2. By the build.py script, the header files in the gpu.hpp file are expanded in order to make gpu.hpp become true header-only source code.
      3. 'install' and 'uninstall' rules are provided for scientific researchers who do not care about how to package applications, enabling them to quickly utilize gpu.cpp for gpu computation.

…root directory of the project, allowing it to generate gpu.cpp dynamic libraries with different suffixes based on the system.

      2. By the build.py script, the header files in the gpu.hpp file are expanded in order to make gpu.hpp become true header-only source code.
      3. 'install' and 'uninstall' rules are provided for scientific researchers who do not care about how to package applications, enabling them to quickly utilize gpu.cpp for gpu computation.
@austinvhuang austinvhuang changed the base branch from main to dev October 5, 2024 02:14
@austinvhuang
Copy link
Contributor

Thanks, very pro- researchers experimenting with gpu computation. I suspect there might be other ways to make header-only work but we can start with this approach. Targeting the dev branch for now to experiment + check if anything breaks before merging to main.

@austinvhuang austinvhuang merged commit 0217886 into AnswerDotAI:dev Oct 5, 2024
1 check passed
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