Unless SGX works.
Homomorphic encryption solves this, but it’s throwing an awful lot of performance out the window.
The enclave gets to see everything that's going on, but in theory nothing can view or corrupt what's going on inside of the enclave.
I'm personally pretty skeptical that SGX is a secure platform, however if you do decide that SGX works and is trustworthy, it would be possible to outsource your computation in a mostly cost effective way to anyone who has an SGX enclave.