Define "gifted."
I qualify for Mensa and have perfect scores on some standardized tests. I'm quite good in my field of study and work, with dozens of awards.
I don't have a Nobel prize, nor did I cure the common cold, or something truly remarkable of that nature.
So, what is gifted?
Do I think I'm gifted? Well, compared to some people, not compared to others. The "gifted" label irritates me when some high school kid takes AP Calc as a freshmen and thinks they're "gifted" and all that. No, you're not gifted if taking high school courses a few years early is the only thing. If you discover a quantum physics theory at age 10, then, yes, you're abnormally gifted, as your peers are out playing with Barbie/Legos.
Are you asking if everyone who has autism is gifted?
Or, if being gifted means you also have autism?
The answer to those 2 things is no.
Many people with Asperger's have special interests, usually researching the subject ad naseum. That's where the "little professor" title comes from--- you research and read about your special interest enough to the point that you can lecture someone on it. Does that make you gifted or incredibly intelligent? Not necessarily. You're just reading up on other people's research. If, however, you're interested in bacteria as a special interest and invented a renown anti-bacterial compound,... now, that's gifted. Knowing and learning about isn't the same as inventing and discovering: the later of these is what is truly gifted. If we're talking "gifted" in public grade schools, well, their standards are much, much, much lower.