#pragma once
#include <ATen/Config.h>
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
// Defines the accumulation type for a scalar type.
// Example:
#pragma once
#include <ATen/Type.h>
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
#include <c10/util/Exception.h>
#define AT_PRIVATE_CASE_TYPE(enum_type, type, ...) \
+++ /dev/null
-#pragma once
-#include <ATen/core/Half.h>
+++ /dev/null
-#pragma once
-#include <c10/util/Half.h>
#pragma once
#include <ATen/Tensor.h>
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
#include <cuda.h>
#include <cuda_runtime.h>
#include <ATen/NativeFunctions.h>
#include <ATen/Utils.h>
#include <ATen/WrapDimUtils.h>
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
#include <c10/core/UndefinedTensorImpl.h>
#include <c10/util/Optional.h>
#include <ATen/NativeFunctions.h>
#include <ATen/Utils.h>
#include <ATen/WrapDimUtils.h>
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
#include <c10/core/TensorImpl.h>
#include <c10/core/UndefinedTensorImpl.h>
#include <c10/util/Optional.h>
#ifndef TH_HALF_H
#define TH_HALF_H
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
#define THHalf at::Half
#include "caffe2/core/logging.h"
#include <c10/util/typeid.h>
#include "caffe2/proto/caffe2_pb.h"
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
namespace caffe2 {
} // namespace caffe2
///////////////////////////////////////////////////////////////////////////////
-// at::Half is defined in ATen/core/Half.h. Currently half float operators are
+// at::Half is defined in c10/util/Half.h. Currently half float operators are
// mainly on CUDA gpus.
// The reason we do not directly use the cuda __half data type is because that
// requires compilation with nvcc. The float16 data type should be compatible
#define CAFFE2_PERFKERNELS_ADAGRAD_H_USE_INTRINSIC
#include <immintrin.h>
#endif
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
#include <c10/util/Logging.h>
namespace caffe2 {
//// DO NOT MODIFY!!!
//// --------------------------
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
#include <c10/util/Logging.h>
#include <immintrin.h>
#include <cassert>
//// DO NOT MODIFY!!!
//// --------------------------
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
#include <c10/util/Logging.h>
#include <immintrin.h>
#include <cassert>
code.append("//// DO NOT MODIFY!!!")
code.append("//// --------------------------\n")
-code.append("#include <ATen/core/Half.h>")
+code.append("#include <c10/util/Half.h>")
code.append("#include <c10/util/Logging.h>")
code.append("#include <immintrin.h>")
code.append("#include <cassert>\n")
#include "caffe2/perfkernels/cvtsh_ss_bugfix.h"
-#include <ATen/core/Half.h>
+#include <c10/util/Half.h>
#include <emmintrin.h>
#include <immintrin.h>
# What folders / files Doxygen should process.
INPUT = ../../../aten/src/ATen/ATen.h \
../../../aten/src/ATen/Backend.h \
- ../../../aten/src/ATen/core/Half.h \
../../../aten/src/ATen/core/ScalarType.h \
../../../aten/src/ATen/core/Tensor.h \
../../../aten/src/ATen/cuda/CUDAContext.h \
../../../build/aten/src/ATen/Functions.h \
../../../c10/core/Device.h \
../../../c10/core/DeviceType.h \
+ ../../../c10/util/Half.h \
../../../c10/util/ArrayRef.h \
../../../c10/util/Exception.h \
../../../c10/util/Optional.h \
#include "ATen/NativeFunctions.h"
#include "ATen/Utils.h"
#include "ATen/WrapDimUtils.h"
-#include "ATen/core/Half.h"
+#include "c10/util/Half.h"
#include <c10/core/TensorImpl.h>
#include <c10/core/UndefinedTensorImpl.h>
#include <c10/util/Optional.h>