mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Following up on this: https://github.com/pytorch/pytorch/pull/35851 cross dtype storage copy is not being used internally, so I have not included cross dtype copy for complex. Pull Request resolved: https://github.com/pytorch/pytorch/pull/35771 Differential Revision: D21319650 Pulled By: anjali411 fbshipit-source-id: 07c72996ee598eba0cf401ad61534494d6f5b5b3
21 lines
579 B
C++
21 lines
579 B
C++
#include <torch/csrc/python_headers.h>
|
|
|
|
#include <torch/csrc/cuda/THCP.h>
|
|
|
|
#include <torch/csrc/cuda/override_macros.h>
|
|
|
|
#include <system_error>
|
|
#include <memory>
|
|
|
|
#define THC_GENERIC_FILE "torch/csrc/generic/serialization.cpp"
|
|
#include <THC/THCGenerateAllTypes.h>
|
|
|
|
#define THC_GENERIC_FILE "torch/csrc/generic/serialization.cpp"
|
|
#include <THC/THCGenerateComplexTypes.h>
|
|
|
|
#define THC_GENERIC_FILE "torch/csrc/generic/serialization.cpp"
|
|
#include <THC/THCGenerateBoolType.h>
|
|
|
|
#define THC_GENERIC_FILE "torch/csrc/generic/serialization.cpp"
|
|
#include <THC/THCGenerateBFloat16Type.h>
|