Remove execute permissions from hpp files
Add working hostcode implementation of reduction_test.cpp