Added compilation for CUDA platform with sm 3.5
Added some comments