Opened 11 years ago

Last modified 21 months ago

#41333 assigned enhancement

Add CUDA as a variant to OpenCV — at Initial Version

Reported by: jsoller@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: opencv

Description

CUDA significantly increases OpenCV performance on MacBooks where NVIDIA cards and the CUDA library are installed.

In the graphics/opencv Portfile, the following lines could be added, allowing cuda to be selected as a variant. This requires the CUDA developer toolkit to be installed on the build machine.

variant cuda description {Enable CUDA support.} {

configure.args-delete -DWITH_CUDA=OFF configure.args-append -DWITH_CUDA=ON

}

Change History (0)

Note: See TracTickets for help on using tickets.