That's a tough quesiton to answer since people are always finding new ways to generate hp.
I guess if you wanted MAX hp, then find a thermodynamics book, look up the Otto Cycle and fill in the variables and solve for work output. This would be the MAX hp you can make with the engine, which in the real world will be less due to things like friction. With infinite money and technology, you should get close to this number.