Ask Your Question
1

Problem OpenCL AMD on OpenCV 2.4.3

asked 2012-12-13 08:18:18 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

I'm starting a programming GPU using OpenCL 1.2 through 2.8 on AMD OpenCV 2.4.3. When running the code below in visual studio 2010 professional edition, a compilation error occurs. Debugging, I realized that the error is hurrying when HEAP in function void __ cdecl _free_base (void * pBlock).

CODE:

//C++
#include <iostream>
#include <stdio.h>
//OPENCV 2.4.3 WITH OPENCL AMD
#include "opencv2\core\core.hpp"
#include "opencv2\highgui\highgui.hpp"
#include "opencv2\ocl\ocl.hpp"

using namespace std;
using namespace cv;
using namespace cv::ocl;

int main(void)
{

    cout << "Inicial!" << endl;
    vector<cv::ocl::Info> info;
    int ret = getDevice(info,2);
    cout << "Ret: " << ret <<endl;
    return 0;
}

My video card is AMD Radeon HD 6630M in windows 7-64bit.

Thank you and I await response.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-08-01 08:37:58 -0500

decision gravatar image

I think I've seen the same error, and I think it had to do with OpenCV linking CRT library statically. If you compile OpenCV yourself, try disabling static CRT in your build.

edit flag offensive delete link more
0

answered 2013-01-13 04:53:06 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

Hi, please any one can help me i want to compile opencv 2.4.3 support opencl My video card is AMD Radeon HD 6700M Series in windows 7-64bit.

opencv run ok my AMD video card support opencl by see in program GpuCapsViewer Thanks all

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-12-13 08:18:18 -0500

Seen: 718 times

Last updated: Aug 01 '13