KisielKisielewski
KisielKisielewski

Reputation: 1

CUDA too many dlls

I've recently started learning image processing with opencv and cuda. I've noticed that whenever I want to deploy my application, I need to add nearly all cuda dlls from sdk. Problem is, that those dlls are over 500 mb in size.

So, is it normal, or I'm just doing something wrong?

Upvotes: 0

Views: 245

Answers (2)

X3liF
X3liF

Reputation: 1074

If you are targetting on one specific GPU you can look at nvprune to remove unused binary code. http://docs.nvidia.com/cuda/cuda-binary-utilities/#nvprune

I'm afraid there is no solution if you don't have a specific target.

Upvotes: 1

Mikel F
Mikel F

Reputation: 3681

Depending on how CUDA is structured, you may very well have to include the entire thing, as you have to have the files that cover the dependencies in your own code as well as the dependencies in the DLLs that you directly need.

Upvotes: 0

Related Questions