Added the AMP-transform_scan and also added cmpArrays overload to test/a...

...mp/common/test_common.h for device_vector specialization