Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Large opencv_gpu246.dll file

Hi,

I am trying to compile OpenCV 2.4.6 with CUDA. The compilation passed fine, however I got very large opencv_gpu246.dll output file (around 300 MB). I left options regarding GPU architectures unchanged in Cmake GUI, i.e.:

CUDA_ARCH_BIN 1.1 1.2 1.3 2.0 2.1(2.0) 3.0, CUDA_ARCH_PTX 2.0 3.0

Even if I try to compile for only one architecture, e.g.:

CUDA_ARCH_BIN 3.0 , CUDA_ARCH_PTX <empty>

I get quite a large file (around 60 MB).

When I compare these sizes to pre-built dll which ships with OpenCV (less than 1MB), the difference is huge. Has anyone observed the same behavior and what may be the problem?

Thanks in advance!

OpenCV with CUDA: Large opencv_gpu246.dll file

Hi,

I am trying to compile OpenCV 2.4.6 with CUDA. The compilation passed fine, however I got very large opencv_gpu246.dll output file (around 300 MB). I left options regarding GPU architectures unchanged in Cmake GUI, i.e.:

CUDA_ARCH_BIN 1.1 1.2 1.3 2.0 2.1(2.0) 3.0, CUDA_ARCH_PTX 2.0 3.0

Even if I try to compile for only one architecture, e.g.:

CUDA_ARCH_BIN 3.0 , CUDA_ARCH_PTX <empty>

I get quite a large file (around 60 MB).

When I compare these sizes to pre-built dll which ships with OpenCV (less than 1MB), the difference is huge. Has anyone observed the same behavior and what may be the problem?

Thanks in advance!

click to hide/show revision 3
retagged

updated 2013-10-01 10:22:04 -0600

berak gravatar image

OpenCV with CUDA: Large opencv_gpu246.dll file

Hi,

I am trying to compile OpenCV 2.4.6 with CUDA. The compilation passed fine, however I got very large opencv_gpu246.dll output file (around 300 MB). I left options regarding GPU architectures unchanged in Cmake GUI, i.e.:

CUDA_ARCH_BIN 1.1 1.2 1.3 2.0 2.1(2.0) 3.0, CUDA_ARCH_PTX 2.0 3.0

Even if I try to compile for only one architecture, e.g.:

CUDA_ARCH_BIN 3.0 , CUDA_ARCH_PTX <empty>

I get quite a large file (around 60 MB).

When I compare these sizes to pre-built dll which ships with OpenCV (less than 1MB), the difference is huge. Has anyone observed the same behavior and what may be the problem?

Thanks in advance!

OpenCV with CUDA: Large opencv_gpu246.dll file

Hi,

I am trying to compile OpenCV 2.4.6 with CUDA. The compilation passed fine, however I got very large opencv_gpu246.dll output file (around 300 MB). I left options regarding GPU architectures unchanged in Cmake GUI, i.e.:

CUDA_ARCH_BIN 1.1 1.2 1.3 2.0 2.1(2.0) 3.0, CUDA_ARCH_PTX 2.0 3.0

Even if I try to compile for only one architecture, e.g.:

CUDA_ARCH_BIN 3.0 , CUDA_ARCH_PTX <empty>

I get quite a large file (around 60 MB).

When I compare these sizes to pre-built dll which ships with OpenCV (less than 1MB), the difference is huge. Has anyone observed the same behavior and what may be the problem?

Thanks in advance!