Skip to content

Conversation

@DAIMENGEN
Copy link
Contributor

This build script is modified to properly handle platform-specific CUDA linking:

On Windows:

NVIDIA’s CUDA SDK does not ship culibos.lib, and static libraries like cublas_static.lib are typically unavailable.

Attempting to statically link cudart_static on Windows will fail due to missing symbols provided by culibos.

Therefore, on Windows, dynamic linking is preferred. The .lib files (like cudart.lib) act as import libraries for corresponding .dll files (e.g., cudart64_*.dll).

This build script is modified to properly handle platform-specific CUDA linking:

On Windows:

NVIDIA’s CUDA SDK does not ship culibos.lib, and static libraries like cublas_static.lib are typically unavailable.

Attempting to statically link cudart_static on Windows will fail due to missing symbols provided by culibos.

Therefore, on Windows, dynamic linking is preferred. The .lib files (like cudart.lib) act as import libraries for corresponding .dll files (e.g., cudart64_*.dll).
@DAIMENGEN
Copy link
Contributor Author

I've just rebased the branch on top of main as suggested. Also, I didn’t make any substantial changes—mostly just rebasing.

I ran the Windows CI on my fork and it passed successfully. Let me know if there's anything else you'd like me to adjust!

@DAIMENGEN
Copy link
Contributor Author

This PR supersedes #757 , which has been closed.

@MarcusDunn MarcusDunn merged commit 079a47e into utilityai:main Jun 20, 2025
4 of 5 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.

2 participants