Merge "Add a basic implementation of the reduce kernel API to the CPU reference implementation."