Opened 11 years ago

Last modified 2 years ago

#41333 assigned enhancement

Add CUDA as a variant to OpenCV

Reported by: jsoller@… Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
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 (6)

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).

comment:2 Changed 4 years ago by mascguy (Christopher Nielsen)

Is this still needed?

comment:3 Changed 4 years ago by mf2k (Frank Schima)

It seems easy enough to add if this still works. CUDE still seems to exist for macOS.

Version 0, edited 4 years ago by mf2k (Frank Schima) (next)

comment:4 Changed 4 years ago by mf2k (Frank Schima)

Owner: changed from stromnov to mascguy
Status: newassigned

comment:5 Changed 4 years ago by mascguy (Christopher Nielsen)

Sounds good to me. And thanks for helping with these old tickets Frank!

comment:6 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.