4 #include <torch/csrc/WindowsTorchApiMacro.h> 5 #include <torch/csrc/jit/fuser/cpu/dynamic_library.h> 6 #include <torch/csrc/jit/fuser/fused_kernel.h> 7 #include <torch/csrc/utils/disallow_copy.h> 23 std::vector<TensorDesc> input_desc,
24 std::vector<TensorDesc> output_desc,
25 std::vector<PartitionDesc> chunk_desc,
26 std::vector<PartitionDesc> concat_desc,
30 return at::Backend::CPU;
33 void launch_raw(
const uint32_t numel, std::vector<void*>& arguments)
35 kernel(numel, arguments.data());
39 std::unique_ptr<DynamicLibrary> so_lib;
40 void (*kernel)(uint32_t,
void**) =
nullptr;
Backend
This legacy enum class defines the set of backends supported by old school, code generated Type-based...