what is the reason of using `switch` for a boolean value? is `if` bad?
also `switch` in CL kernel is a very bad practice...