from my understanding you can do HSA with opencl on opencl 2.0, like in windows whit opencl 2.0 catalyst drivers,and normal opencl programs.
Now if you are refering to have your code in HSAIL (HSA Intermediate Language) the one that CLOC outputs, from a normal opencl program, i think you cant , from CLOC/README.md at master · HSAFoundation/CLOC · GitHub
on the example part
This version of cloc supports the SNACK method of writing accelerated kernels in c. With SNACK, a host program can directly call the accelerated function. Here is the c++ source code HelloWorld.cpp using SNACK.
So the host code in "helloworld" are using SNACK, not the normal opencl host code