Delete defunct THP_API.h header. (#14899)
authorEdward Yang <ezyang@fb.com>
Mon, 10 Dec 2018 18:44:13 +0000 (10:44 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 10 Dec 2018 18:47:24 +0000 (10:47 -0800)
Summary:
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14899

Differential Revision: D13383687

Pulled By: ezyang

fbshipit-source-id: f2a08a769cc3775ba55f9c58d622a83df622d816

torch/csrc/THP_API.h [deleted file]

diff --git a/torch/csrc/THP_API.h b/torch/csrc/THP_API.h
deleted file mode 100644 (file)
index b5e03cb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef THP_API_H
-#define THP_API_H
-
-#ifdef _THP_CORE
-#error Using the THP API header, but _THP_CORE is defined! This macro should \
-    be defined only when compiling the core torch package.
-#endif
-
-#ifdef USE_CUDA
-#include <torch/csrc/cuda/THCP.h>
-#include <torch/csrc/cuda/undef_macros.h>
-#endif
-
-#include <torch/csrc/THP.h>
-
-#endif