File tree Expand file tree Collapse file tree 6 files changed +4
-8
lines changed
torch/csrc/jit/tensorexpr Expand file tree Collapse file tree 6 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1818namespace torch {
1919namespace jit {
2020using namespace torch ::jit::tensorexpr;
21- using namespace torch ::jit::tensorexpr::schedule ;
21+ using namespace torch ::jit::tensorexpr;
2222
2323template <typename ctype>
2424void testCudaTestVectorAdd01_impl () {
Original file line number Diff line number Diff line change 1717namespace torch {
1818namespace jit {
1919using namespace torch ::jit::tensorexpr;
20- using namespace torch ::jit::tensorexpr::schedule ;
20+ using namespace torch ::jit::tensorexpr;
2121
2222using LLVMExprEval = ExprEval<LLVMCodeGen>;
2323
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ namespace torch {
1717namespace jit {
1818
1919using namespace torch ::jit::tensorexpr;
20- using namespace torch ::jit::tensorexpr::schedule ;
20+ using namespace torch ::jit::tensorexpr;
2121
2222void testExprSimple01 () {
2323 KernelScope kernel_scope;
Original file line number Diff line number Diff line change @@ -990,7 +990,7 @@ void TensorExprKernel::lowerToBackend(BackendType backendType) {
990990 }
991991 }
992992
993- torch::jit::tensorexpr::schedule:: LoopNest l (tensorOutputs);
993+ torch::jit::tensorexpr::LoopNest l (tensorOutputs);
994994
995995 // Compute non-output tensors_ inline
996996 for (auto & p : tensors_) {
Original file line number Diff line number Diff line change 1414namespace torch {
1515namespace jit {
1616namespace tensorexpr {
17- namespace schedule {
1817
1918namespace {
2019
@@ -870,7 +869,6 @@ bool LoopNest::hasLoopBodyFor(Tensor* t) const {
870869 return tensor_to_stmt_.count (t) > 0 ;
871870}
872871
873- } // namespace schedule
874872} // namespace tensorexpr
875873} // namespace jit
876874} // namespace torch
Original file line number Diff line number Diff line change 1111namespace torch {
1212namespace jit {
1313namespace tensorexpr {
14- namespace schedule {
1514
1615class TORCH_API LoopNest {
1716 public:
@@ -48,7 +47,6 @@ class TORCH_API LoopNest {
4847 std::unordered_set<Tensor*> output_tensors_;
4948 std::unordered_set<Tensor*> intermediate_tensors_;
5049};
51- } // namespace schedule
5250} // namespace tensorexpr
5351} // namespace jit
5452} // namespace torch
You can’t perform that action at this time.
0 commit comments