xla
d033f8d3 - Make kernels methods (#3012)

Commit
4 years ago
Make kernels methods (#3012) * use in-tree public codegen API. * use in-tree public codegen API. * stop pinning to feature branch * remove torch_pin file before merging. preemptively update yaml to incorporate #2891 * use in-tree public codegen API. * stop pinning to feature branch * [WIP] remove bridge:: api from codegen. Start auto-gen'ing out/inplace kernels when possible * updated torch pin * remove torch_pin file before merging. preemptively update yaml to incorporate #2891 * make codegen backend-agnostic, except for CPU fallbacks * remove logging * rename aten_xla_type.h -> XLANativeFunctions.h * rename aten_xla_type.h -> XLANativeFunctions.h * fix rename, delete aten_xla_type.h * update torch_pin after the file rename * remove logging info from yaml * make codegen backend-agnostic, except for CPU fallbacks * rename aten_xla_type.h -> XLANativeFunctions.h * fix rename, delete aten_xla_type.h * use codegen'd inplace kernels, and delete manually written inplace kernels * fix test change * lint * make codegen backend-agnostic, except for CPU fallbacks * rename aten_xla_type.h -> XLANativeFunctions.h * use codegen'd inplace kernels, and delete manually written inplace kernels * [WIP] remove bridge:: api from codegen. Start auto-gen'ing out/inplace kernels when possible * fix accidental diff * revert accidental yaml change * remove accidentally commited file * update boxed fallback API usage * remove accidentally committed file * lint * remove to_cpu() from yaml, _to_cpu is the right one * add XLANativeFunctions:: prefix to straggler ops * pass aten_xla_type.cpp to codegen to check for missing kernels. Get codegen to stop build on error * update torch pin * fix missing method * lint and fix missing kernel * Delete .torch_pin Co-authored-by: JackCaoG <59073027+JackCaoG@users.noreply.github.com>
Author
Parents
Loading