Opened 11 years ago

Last modified 21 months ago

#41333 assigned enhancement

Add CUDA as a variant to OpenCV — at Version 1

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

Description (last modified by mf2k (Frank Schima))

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 (1)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to stromnov@…
Port: opencv added
Type: requestenhancement
Version: 2.2.1

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers opencv).

Note: See TracTickets for help on using tickets.