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

Linking with the cublas library #9

Open
corneliusschroeder opened this issue Jan 21, 2022 · 1 comment
Open

Linking with the cublas library #9

corneliusschroeder opened this issue Jan 21, 2022 · 1 comment

Comments

@corneliusschroeder
Copy link

Hi,
first of all, thank you for this introduction to cuda with python, this repository currently helps me a lot with my master thesis!
I decided to use cython to make some cuda kernels available in a python module. My code relies on the cublas library and I know that I have to link my code with the cublas library. However, I'm struggling to do this with a setup.py file.
Could you give me a hint how to change the setup.py file to do so?

@rmcgibbo
Copy link
Owner

I'm not really sure (haven't looked at this in years). Maybe add cublas to this line: https://github.com/rmcgibbo/npcuda-example/blob/master/cython/setup.py#L115?

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

2 participants