Looking at a few more photos and a recent exhibition at GM's heritage centre, it appears the caption may have been wrong on my original source. There were three 512 prototypes and I've never looked under the bonnet of any of them, but the GM exhibition labelled this as the XP512G Gasoline version.