OpenCL Syntax Highlighting and Auto Completion doesn't work on Visual Studio 2010 Pro

OpenCL Syntax Highlighting and Auto Completion doesn't work on Visual Studio 2010 Pro

Today I installed the OpenCL SDK 2013 version. I am using Visual Studio 2010 Pro version. I created a OpenCL project using the OpenCL wizard. There is a "OpenCL" folder under the project and I can add a OpenCL kernel file (.cl extension) in this folder. But the syntax highlighting and auto completion doesn't work. The .cl extension is recognized as a normal C/C++ file. 

How can I solve this problem? Thanks a lot.

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hello

 

According to your description it seems like the OpenCL Visual Studio integration fails to load.

Can you please check what other add-ins/packages are installed in your Visual Studio ?

 

Best Regards,

Oded 

Hi Oded,

Thanks for you reply. I checked my visual studio and found the following add-ins installed:

1. NVidia Nsight

2. Qt Visual Studio Integration

Thanks

Mczhao

Leave a Comment

Please sign in to add a comment. Not a member? Join today