Validation discussion for OpenCL

 
Did anyone had issues with a line of code:
      if ((int) TerminalInfoInteger(TERMINAL_OPENCL_SUPPORT) == 0) { return 0; }

that passes the validation and then on his pc had been debugging that same line and figured out that it always does "return 0" although OpenCL support is enabled?

On my own pc that comparison should be "if it differs from 0" not to return 0, which is opposite...

Did validation tester let nothing to show on the indicator graph - as alright? Or what? 

 
Pavle Grkovic:
Did anyone had issues with a line of code:
      if ((int) TerminalInfoInteger(TERMINAL_OPENCL_SUPPORT) == 0) { return 0; }

that passes the validation and then on his pc had been debugging that same line and figured out that it always does "return 0" although OpenCL support is enabled?

On my own pc that comparison should be "if it differs from 0" not to return 0, which is opposite...

Did validation tester let nothing to show on the indicator graph - as alright? Or what? 

Probably you encountered the general problem with debugger in latest builds since 4500+, which is discussed in many parallel threads. This is not an issue with OpenCL. If you can find build 4410 and check the code on it, then there will be possibly no such problems.