replace thrust::sort by thrust::max_element for radi
cpp use thrust::max_element to get max value
cpp replace custom sort by key by thrust::sort_by_key
cpp time step, dark channel sort by key decrease from 6600ms to 50ms for image size 720p, cpp total from 8400ms to 1900ms