Visual Studio 2010 opencl offline-compiler compiles always, even when sources have not been changed

Visual Studio 2010 opencl offline-compiler compiles always, even when sources have not been changed

Hi,
the Visual Studio 2010 plugin from the 2013 Opencl SDK proved to be very helpful so far. However, to me it looks like it compiles the cl files always, even when the source files have not been changed. This is a bit annoying and costs a lot of time. Is this expected behavior or have I not configured my project correctly?

The same behavior can be seen in the SimpleOptimizations API example and I guess that's why the cl files are manually excluded from the build.
If this is expected behavior, then I guess, this would be my first feature request.

Cheers

 

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

Hi,
 
Thank you for your question. 
This is the expected behavior.
The Offline Compiler is run as an external tool and therefore is run similar to post-build command.
That is the reason it compiles the cl files in every build.
We will consider adding this feature in future releases.
 
Best Regards,
Oded

 

 

Leave a Comment

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