Opencv GPU Cuda opencl Configuration

Source: Internet
Author: User

First, install opencv correctly and pass the test.

I understand that the GPU environment configuration consists of three main steps.

1. Generate the associated file, that is, makefile or project file.

2. compile and generate library files related to hardware usage, including dynamic and static library files.

3. Add the generated library file to the program. The addition process is similar to that of the opencv library.

 

For more information, see:

Http://wenku.baidu.com/link? Url = GGDJLZFwhj26F50GqW-q1ZcWek-QN2kAgVJ5SHrQcmte-nx9-GyIUKxGwIvtzJ_WoBddvasI7gv59BBGqzBykxTAnenbwId3VTegc3ayX1q

Http://blog.csdn.net/fengbingchun/article/details/9831837

Http://blog.csdn.net/quanquanyu/article/details/8917765

 

According to references, the Cuda and opencl environments are configured at the same time. I only run the test program. After the configuration is complete, the getcudaenableddevicecount () output is 1.

During step 4 Compilation, there will be errors. I don't care, I will continue to do it, and finally the test is successful.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.