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

fix: Windows CUDA compilation was incorrectly described #15

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

Destroy666x
Copy link
Contributor

@Destroy666x Destroy666x commented Sep 15, 2023

Fixes the following issues:

  • -ExtraCmakeFlags param was incorrect
  • -ExtraCmakeFlags didn't work as full string, turned it into string array to match code below

Worked fine on CUDA 12.2 after these changes and the plugin is now more or less usable on lives with my CPU 🚀

Another thing to optimize may be to copy the mentioned DLLs from %CUDA_TOOLKIT_ROOT_DIR%\bin to the release\obs-plugins\64bit folder, but I'm unfortunately not familiar enough with CMake (first time using it for OBS stuff) to know how to do this optimally. Unless it can just happen at the end of PowerShell script?

Copy link
Collaborator

@royshil royshil left a comment

Choose a reason for hiding this comment

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

Nice!! Many thanks

@Destroy666x
Copy link
Contributor Author

Nice!! Many thanks

No problem, is it mergeable or anything else should be done?

@royshil
Copy link
Collaborator

royshil commented Sep 17, 2023

Nice!! Many thanks

No problem, is it mergeable or anything else should be done?

noup. fire away

@royshil
Copy link
Collaborator

royshil commented Sep 17, 2023

@Destroy666x please merge latest master to your branch, it has a fix for the windows build

…mpilationHelpers

* upstream/master:
  openblas sha
  lint
  models to config folder
@Destroy666x
Copy link
Contributor Author

@royshil done

@royshil royshil merged commit c04565e into occ-ai:master Sep 19, 2023
6 checks 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.

None yet

2 participants