pytorch/torch/csrc/jit/serialization
chengjun 4a8ef4525e Add new backend type for Intel heterogeneous computation platform. (#49786)
Summary:
Add a new device type 'XPU' ('xpu' for lower case) to PyTorch. Changes are needed for code related to device model and kernel dispatch, e.g. DeviceType, Backend and DispatchKey etc.

https://github.com/pytorch/pytorch/issues/48246

Pull Request resolved: https://github.com/pytorch/pytorch/pull/49786

Reviewed By: mrshenli

Differential Revision: D25893962

Pulled By: ezyang

fbshipit-source-id: 7ff0a316ee34cf0ed6fc7ead08ecdeb7df4b0052
2021-01-20 08:15:18 -08:00
..
export_module.cpp [AutoAccept][Codemod][FBSourceClangFormatLinter] Daily arc lint --take CLANGFORMAT 2021-01-15 04:16:07 -08:00
export.cpp Revert D24924236: [pytorch][PR] [ONNX] Handle sequence output shape and type inference 2021-01-15 05:58:35 -08:00
export.h [PyTorch Mobile] Export Operator List from Mobile CompilationUnit instead of from TorchScript Model (#49385) 2020-12-18 11:17:57 -08:00
import_export_constants.h Revert D25152559: T66557700 Support default argument values of a method 2020-12-17 14:05:49 -08:00
import_export_functions.h
import_export_helpers.cpp [codemod][fbcode/caffe2] Apply clang-format update fixes 2021-01-09 14:37:36 -08:00
import_export_helpers.h
import_legacy.cpp Add another torch::jit::load API to load PyTorch model with shared_ptr PyTorchStreamReader input (#48802) 2020-12-06 18:09:25 -08:00
import_legacy.h Add another torch::jit::load API to load PyTorch model with shared_ptr PyTorchStreamReader input (#48802) 2020-12-06 18:09:25 -08:00
import_source.cpp [JIT] Fix clang-tidy warnings in jit/serialization (#47991) 2020-12-02 12:35:40 -08:00
import_source.h Generalize constant_table from tensor only to ivalue (#40718) 2020-07-09 09:09:40 -07:00
import.cpp [codemod][fbcode/caffe2] Apply clang-format update fixes 2021-01-09 14:37:36 -08:00
import.h Add another torch::jit::load API to load PyTorch model with shared_ptr PyTorchStreamReader input (#48802) 2020-12-06 18:09:25 -08:00
onnx.cpp [ONNX] Update ONNX shape inference (#43929) 2020-09-14 15:36:19 -07:00
onnx.h [ONNX] Utilize ONNX shape inference for ONNX exporter (#40628) 2020-08-30 18:35:46 -07:00
pickle.cpp [codemod][fbcode/caffe2] Apply clang-format update fixes 2021-01-09 14:37:36 -08:00
pickle.h
pickler.cpp Add new backend type for Intel heterogeneous computation platform. (#49786) 2021-01-20 08:15:18 -08:00
pickler.h Fix errata (#49903) 2020-12-28 20:40:41 -08:00
python_print.cpp [PyTorch][codemod] Replace immediately-dereferenced expect calls w/expectRef (#50228) 2021-01-13 16:13:55 -08:00
python_print.h [jit] Speed up saving in case of many classes (#44589) 2020-09-15 15:10:45 -07:00
source_range_serialization_impl.h
source_range_serialization.cpp [codemod][fbcode/caffe2] Apply clang-format update fixes 2021-01-09 14:37:36 -08:00
source_range_serialization.h [JIT] Fix clang-tidy warnings in jit/serialization (#47991) 2020-12-02 12:35:40 -08:00
type_name_uniquer.cpp
type_name_uniquer.h
unpickler.cpp Add new backend type for Intel heterogeneous computation platform. (#49786) 2021-01-20 08:15:18 -08:00
unpickler.h [JIT] Fix clang-tidy warnings in jit/serialization (#47991) 2020-12-02 12:35:40 -08:00