test/computations/reduce: removed nested type from test_structure_types(), there are some problems with CUDA/OpenCL
reduce.mako: simplified the code, made it work with custom structures
TODO: added a detail
TODO: added a task