Reduction domains (RDom) and sobel using RDom