Oh, they are two masterpieces! How can one decide between the two?
Kashmir's riff is perfection... but also Dio's vocals and the music and the lyrics in Stargazer are perfection.
If I really must decide, then I choose Stargazer... I like the fact that it is more dynamic.