restored intrinsics and added tuning options to ptxgen