Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 7e92e1a

Browse files
author
Nicolas Vasilache
committed
Remove dead declarations
1 parent 0072edf commit 7e92e1a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/cuda/test_tc_mapper.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ TEST_F(TcCudaMapperTest, BatchTripleHadamard) {
253253
at::Tensor V = at::CUDA(at::kFloat).rand({B, D});
254254
at::Tensor W = at::CUDA(at::kFloat).rand({B, D});
255255
std::vector<at::Tensor> inputs = {U, V, W};
256-
std::vector<at::Tensor> outputs;
257256

258257
static constexpr auto TC = R"TC(
259258
def batch_triple_hadamard(float(B, D) U, float(B, D) V, float(B, D) W) -> (Z) {
@@ -283,7 +282,6 @@ TEST_F(TcCudaMapperTest, TensorDot) {
283282
at::Tensor I0 = at::CUDA(at::kFloat).rand({N, C1, C2, H, W});
284283
at::Tensor I1 = at::CUDA(at::kFloat).rand({N, C2, C3, H, W});
285284
std::vector<at::Tensor> inputs = {I0, I1};
286-
std::vector<at::Tensor> outputs;
287285

288286
static constexpr auto TC = R"TC(
289287
def tensordot(float(N, C1, C2, H, W) I0, float(N, C2, C3, H, W) I1) -> (O) {
@@ -309,7 +307,6 @@ TEST_F(TcCudaMapperTest, LUT) {
309307
at::Tensor I =
310308
at::CUDA(at::kFloat).rand({B, N}).mul_(B).floor_().toType(at::kInt);
311309
std::vector<at::Tensor> inputs = {LUT, I};
312-
std::vector<at::Tensor> outputs;
313310

314311
static constexpr auto TC = R"TC(
315312
def fun(float(B, R) LUT, int32(B, N) I) -> (O) {
@@ -361,7 +358,6 @@ TEST_F(TcCudaMapperTest, DISABLED_SpatialBatchNormalization) {
361358
at::Tensor rMeanIn = at::CUDA(at::kFloat).rand({C2});
362359
at::Tensor rVarIn = at::CUDA(at::kFloat).rand({C2});
363360
std::vector<at::Tensor> inputs = {momentum, eps, I, rMeanIn, rVarIn};
364-
std::vector<at::Tensor> outputs;
365361

366362
static constexpr auto TC = R"TC(
367363
def spatial_batch_norm(

0 commit comments

Comments
 (0)