Some time ago, the OPENCV3.4,TX2 update source failed to install the TX2, OPENCV internal many functions have implemented GPU acceleration, but we manually write the function, want to through the GPU acceleration will need to manually call Cuda for acceleration. The following describes Cuda's environment configuration and compilation, respectively, from the Windows platform and the Linux platform.
1 Windows VS2013 + cuda configuration
1.1 Confirm Cuda Installation
Command Line Input
Nvcc
If the following print appears, the installation is complete
1.2 Creating a Cuda Project
Then open vs2013, create a new empty project
Then add Cuda dependencies to the project, solution right-click: Build dependencies, build customizations, add Cuda
After you add a dependency, you can create a new. cu file, and then right-click the file: Properties, configuration Properties, general-type->cuda C/
Cuda on the Windows/linux platform configuration and compilation