I suggest define ```VAL``` in ```.cl``` file and usage of ```ocl::typeToStr``` looks much better instead ```switch```