AnsweredAssumed Answered

Integrating Visual studio 2013 with OpenCL and ATI GPU

Question asked by balu on Mar 15, 2015
Latest reply on Mar 21, 2015 by balu

I have no idea so I decided to write here. I'm trying to integrate my vs2013 with openc(ati GPU).

I did everything according to this instruction:

1.Instaling Opencl from version 2.9.1

2.       Setting up the Project

First thing to do is set up an empty VS project by choosing

‘New Project->Visual C++->Win32 Console Application'

Enter a name for the project and choose OK

In the application creation wizard choose ‘Next’

Under ‘Additional options’ check the ‘Empty project’ box and click ‘Finish’


3.       Including OpenCL in the Project


The first step in including OpenCL is to create a C++ file, this enables the configuration options we will need.

Right click on the ‘Source Files’ folder in the solution explorer and select ‘Add-> New Item’

Select C++ File and give the file a name

Click the ‘Add’ button in the bottom right hand corner of the dialog box

Now we are ready to point the project to the include directories for OpenCL

Right click on the project name in the solution explorer and select ‘Properties’

From the ‘Configuration’ drop down box choose ‘All Configurations’

Navigate to ‘Configuration Properties-> C/C++ -> General’

In the ‘Additional Include Directories’ field add the following information




4.       Linking OpenCL


Without closing the dialog box used above:

Choose ‘Linker-> General’

In  the ‘Additional Dependencies’ field enter the following



  • Still in the ‘Linker’ submenu, select ‘Input’
  • In the ‘Additional Dependencies’ field click on the arrow that appears at the end of the field and choose Edit…
  • In the dialog that appears enter “OpenCL.lib”


But when I run project I see error message like:

Program called project1 stopped