split header into one for each type of impl
rename clean to ref
rename clean to ref
fix preproc so ACTIVE works
add fake openmp support for clang and use ref kernels for ref (bug fix)