Implemented the function dualL1Difference for GPU