Platform : Windows 7 : 64 bit
Compiler : MSVC, AMD OpenCL
I have the following piece of code which I am compiling with MSVC and AMD OpenCL compiler.
I have pasted my code here : http://pastebin.com/M1A5kzd8.If I remove my timing code (comment out line no 8) the code runs fine.If I add my timing code the program hangs at line no : 61. in function clCreateCommandQueue.
Could you please let me know what could be the possible reason.
I have tested my timing code with a hello world (without OpenCL) and it works fine.