I know this isn't exactly a Motor Vehicle Maintenance & Repair related question but this seems the most appropriate StackExchange community to ask it. I apologize if I am being wrong in my assumption.
Given 2 cars that are identical in every aspect except torque produced by the engine ( identical amount of power, regardless of the unit of measurement - HP, kW, etc. - , identical weight, identical weight distribution, identical number of driven wheels, same final drive and identical aerodynamic characteristics) and both cars are equipped with a Continuously Variable Transmission (CVT), which of these 2 cars would have a greater acceleration and a greater top speed if one car is to be equipped with a diesel engine (more torque but the same HP) and the other with a petrol engine (less torque but the same HP)?
Note the fact that both cars use a CVT, eliminating gear numbers, gearing ratios and other aspects pertaining to a traditional gearbox. Furthermore, whether or not it is possible for such 2 vehicles to exist is not up for debate.