[TensorExpr] More NFC changes like Expr* -> ExprPtr. (#63778)
authorMikhail Zolotukhin <mvz@fb.com>
Tue, 24 Aug 2021 07:29:22 +0000 (00:29 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 24 Aug 2021 07:30:49 +0000 (00:30 -0700)
commitdd96c26066fd8e31dc768002e207477c38f86b7a
tree9bde8ab5b3cb34d907582b9237f1c7eae61dfcbc
parent5b7cdc5a3ddb9a1a3d46d05b2925b5b4713b0025
[TensorExpr] More NFC changes like Expr* -> ExprPtr. (#63778)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63778

This is a preparation for a switch from raw pointers to shared pointers
as a memory model for TE expressions and statements.

Test Plan: Imported from OSS

Reviewed By: navahgar

Differential Revision: D30487425

Pulled By: ZolotukhinM

fbshipit-source-id: 9cbe817b7d4e5fc2f150b29bb9b3bf578868f20c
16 files changed:
benchmarks/cpp/tensorexpr/bench_approx.cpp
benchmarks/cpp/tensorexpr/bench_batchnorm.cpp
benchmarks/cpp/tensorexpr/bench_compile.cpp
benchmarks/cpp/tensorexpr/bench_concat.cpp
benchmarks/cpp/tensorexpr/bench_gemm.cpp
benchmarks/cpp/tensorexpr/bench_parallel.cpp
benchmarks/cpp/tensorexpr/bench_reduce.cpp
test/cpp/tensorexpr/test_llvm.cpp
test/cpp/tensorexpr/test_loopnest.cpp
test/cpp/tensorexpr/test_memdependency.cpp
test/cpp/tensorexpr/test_reductions.cpp
test/cpp/tensorexpr/tutorial.cpp
torch/csrc/jit/tensorexpr/cuda_codegen.cpp
torch/csrc/jit/tensorexpr/half_support.h
torch/csrc/jit/tensorexpr/mem_dependency_checker.h
torch/csrc/jit/tensorexpr/operators/reduction.h