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

Make a release build that does not require a CUDA installation #5

Open
m-schuetz opened this issue Nov 30, 2023 · 0 comments
Open

Make a release build that does not require a CUDA installation #5

m-schuetz opened this issue Nov 30, 2023 · 0 comments

Comments

@m-schuetz
Copy link
Owner

m-schuetz commented Nov 30, 2023

Right now, the binary release requires that users have specific CUDA versions installed. v11.8 works, v12 did not work for me without removing the uint8_t typedef in utils.h.ch.

Ideally, users downloading the binary release should not need a CUDA installation. I guess we could have a release build that ships the precompiled CUDA kernels? Would also improve startup times since compiling the kernels takes a few seconds.

@JolifantoBambla can we do that in CMAKE? Have three builds like this?

  • Debug build with the workdir set to the project root folder so that CUDA source files in ./modules are hot-reloaded.
  • Release build with the workdir set to the project root folder so that CUDA source files in ./modules are hot-reloaded.
  • Release-Publish build that ships with compiled CUDA kernels.
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

No branches or pull requests

1 participant