microsoft / knossos-ksc

Compiler with automatic differentiation
Other
45 stars 10 forks source link

Allow embedded CPP to compile for benchmarks #889

Closed toelli-msft closed 3 years ago

toelli-msft commented 3 years ago

This PR allows CPP to be embedded and benchmarked in the same way that we can currently do for ks, that is, an embedded source string is converted to a PyTorch module which is loaded and benchmarked.

This PR doesn't actually contain any examples, but you can see some at https://github.com/microsoft/knossos-ksc/pull/877/files, which is WIP.

Part of AB#19695.