Unverified Commit e65e4726 authored by moto-meta's avatar moto-meta Committed by GitHub
Browse files

Move libtorchaudio to dedicated directory

Differential Revision: D50086556

Pull Request resolved: https://github.com/pytorch/audio/pull/3648
parent 03d12709
#include <c10/cuda/CUDAStream.h> #include <c10/cuda/CUDAStream.h>
#include <libtorchaudio/rnnt/gpu/gpu_transducer.h>
#include <torch/types.h> #include <torch/types.h>
#include <torchaudio/csrc/rnnt/gpu/gpu_transducer.h>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
#include <c10/cuda/CUDAStream.h> #include <c10/cuda/CUDAStream.h>
#include <libtorchaudio/rnnt/gpu/gpu_transducer.h>
#include <torch/types.h> #include <torch/types.h>
#include <torchaudio/csrc/rnnt/gpu/gpu_transducer.h>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
#include <c10/cuda/CUDAStream.h> #include <c10/cuda/CUDAStream.h>
#include <libtorchaudio/rnnt/gpu/gpu_transducer.h>
#include <torch/types.h> #include <torch/types.h>
#include <torchaudio/csrc/rnnt/gpu/gpu_transducer.h>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ifdef USE_CUDA #ifdef USE_CUDA
#include <torchaudio/csrc/rnnt/gpu/math.cuh> #include <libtorchaudio/rnnt/gpu/math.cuh>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
#include <cassert> #include <cassert>
#include <torchaudio/csrc/rnnt/gpu/kernel_utils.h> #include <libtorchaudio/rnnt/gpu/kernel_utils.h>
#include <torchaudio/csrc/rnnt/gpu/kernels.h> #include <libtorchaudio/rnnt/gpu/kernels.h>
#include <torchaudio/csrc/rnnt/gpu/math.cuh> #include <libtorchaudio/rnnt/gpu/math.cuh>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
#ifdef USE_CUDA #ifdef USE_CUDA
#include <torchaudio/csrc/rnnt/workspace.h> #include <libtorchaudio/rnnt/workspace.h>
#include <torchaudio/csrc/rnnt/gpu/gpu_kernel_utils.cuh> #include <libtorchaudio/rnnt/gpu/gpu_kernel_utils.cuh>
#include <torchaudio/csrc/rnnt/gpu/gpu_kernels.cuh> #include <libtorchaudio/rnnt/gpu/gpu_kernels.cuh>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include "c10/util/Half.h" #include "c10/util/Half.h"
#endif // USE_C10_HALF #endif // USE_C10_HALF
#include <torchaudio/csrc/rnnt/macros.h> #include <libtorchaudio/rnnt/macros.h>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include <cassert> #include <cassert>
#include <torchaudio/csrc/rnnt/gpu/math.cuh> #include <libtorchaudio/rnnt/gpu/math.cuh>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#include <cassert> #include <cassert>
#include <torchaudio/csrc/rnnt/gpu/kernel_utils.h> #include <libtorchaudio/rnnt/gpu/kernel_utils.h>
#include <torchaudio/csrc/rnnt/gpu/math.cuh> #include <libtorchaudio/rnnt/gpu/math.cuh>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#endif // USE_CUDA #endif // USE_CUDA
#include <torchaudio/csrc/rnnt/gpu/half.cuh> #include <libtorchaudio/rnnt/gpu/half.cuh>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
#include <torchaudio/csrc/rnnt/macros.h> #include <libtorchaudio/rnnt/macros.h>
const char* ToString(level_t level) { const char* ToString(level_t level) {
switch (level) { switch (level) {
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
#include <cuda_runtime.h> #include <cuda_runtime.h>
#endif // USE_CUDA #endif // USE_CUDA
#include <torchaudio/csrc/rnnt/macros.h> #include <libtorchaudio/rnnt/macros.h>
#include <torchaudio/csrc/rnnt/types.h> #include <libtorchaudio/rnnt/types.h>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
#include <torchaudio/csrc/rnnt/types.h> #include <libtorchaudio/rnnt/types.h>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
#include <cstring> #include <cstring>
#include <vector> #include <vector>
#include <torchaudio/csrc/rnnt/options.h> #include <libtorchaudio/rnnt/options.h>
#include <c10/util/Logging.h>
namespace torchaudio { namespace torchaudio {
namespace rnnt { namespace rnnt {
......
#include <libtorchaudio/sox/effects.h>
#include <libtorchaudio/sox/effects_chain.h>
#include <libtorchaudio/sox/utils.h>
#include <sox.h> #include <sox.h>
#include <torchaudio/csrc/sox/effects.h>
#include <torchaudio/csrc/sox/effects_chain.h>
#include <torchaudio/csrc/sox/utils.h>
namespace torchaudio::sox { namespace torchaudio::sox {
namespace { namespace {
......
#ifndef TORCHAUDIO_SOX_EFFECTS_H #ifndef TORCHAUDIO_SOX_EFFECTS_H
#define TORCHAUDIO_SOX_EFFECTS_H #define TORCHAUDIO_SOX_EFFECTS_H
#include <libtorchaudio/sox/utils.h>
#include <torch/script.h> #include <torch/script.h>
#include <torchaudio/csrc/sox/utils.h>
namespace torchaudio::sox { namespace torchaudio::sox {
......
#include <torchaudio/csrc/sox/effects_chain.h> #include <libtorchaudio/sox/effects_chain.h>
#include <torchaudio/csrc/sox/utils.h> #include <libtorchaudio/sox/utils.h>
#include "c10/util/Exception.h" #include "c10/util/Exception.h"
using namespace torch::indexing; using namespace torch::indexing;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment