Hello, I am new to OpenCL. right now i am trying to convert my c code into opencl. In this connection, I have function named as some 'x', in that function i have if-else loop.

function x()
{
...