Unreachable execution ! error when code executes clBuildProgram

Hi All,

Whenever my code calls clBuildProgram API, my program terminates with the error “UNREACHABLE executed!” and Visual Studio 2010 dialogue shoes up and says “Runtime Error! This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information.”

I am using opencl platform on Tesla and visual studio 2010. Platform windows 7.

I will appreciate any sort of pointer or help in this direction. I could not find anything on forums.