create a resolve_argument_type to capture some of the old type mapping logic needed by CUDA target
Merge pull request #702 from seibert/cuda_fix

create a resolve_argument_type to capture some of the old type mapping logic needed by CUDA target