Skip to content

Commit 3876889

Browse files
zasdfgbnmfacebook-github-bot
authored andcommitted
Remove LegacyComplex.h (pytorch#39834)
Summary: All std::complex has been migrated to c10::complex Pull Request resolved: pytorch#39834 Differential Revision: D22001969 Pulled By: ezyang fbshipit-source-id: 665a9198afde45a95309053b2f2381e123bf869a
1 parent ae6a68a commit 3876889

File tree

5 files changed

+0
-74
lines changed

5 files changed

+0
-74
lines changed

aten/src/ATen/NumericUtils.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <complex>
99
#include <type_traits>
1010
#include <c10/util/BFloat16.h>
11-
#include <c10/util/LegacyComplex.h>
1211
#include <c10/util/Half.h>
1312
#include <c10/macros/Macros.h>
1413

aten/src/ATen/test/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ list(APPEND ATen_CPU_TEST_SRCS
3636
${CMAKE_CURRENT_SOURCE_DIR}/memory_format_test.cpp
3737
${CMAKE_CURRENT_SOURCE_DIR}/cpu_rng_test.cpp
3838
${CMAKE_CURRENT_SOURCE_DIR}/ivalue_test.cpp
39-
${CMAKE_CURRENT_SOURCE_DIR}/complex_test.cpp
4039
${CMAKE_CURRENT_SOURCE_DIR}/vmap_test.cpp
4140
${CMAKE_CURRENT_SOURCE_DIR}/type_test.cpp)
4241

aten/src/ATen/test/complex_test.cpp

Lines changed: 0 additions & 29 deletions
This file was deleted.

aten/tools/run_tests.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ VALGRIND=${VALGRIND:=ON}
1010
./atest
1111
./scalar_test
1212
./broadcast_test
13-
./complex_test
1413
./wrapdim_test
1514
./apply_utils_test
1615
./dlconvertor_test

c10/util/LegacyComplex.h

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)