From 27d8e5f2296155a8fed44002ffea2355c686f823 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sat, 16 Sep 2023 02:57:10 -0400 Subject: [PATCH] clean rocm Signed-off-by: Jinzhe Zeng --- source/op/prod_env_mat_multi_device.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/op/prod_env_mat_multi_device.cc b/source/op/prod_env_mat_multi_device.cc index 1ac2071611..862fb5856f 100644 --- a/source/op/prod_env_mat_multi_device.cc +++ b/source/op/prod_env_mat_multi_device.cc @@ -669,7 +669,6 @@ class ProdEnvMatAOp : public OpKernel { int* type_cpy; int frame_nall = nall; int mesh_tensor_size = static_cast(mesh_tensor.NumElements()); - std::vector tensor_list(7); // prepare coord and nlist _prepare_coord_nlist_gpu_rocm( context, &tensor_list[0], &coord, coord_cpy, &type, type_cpy, @@ -994,7 +993,6 @@ class ProdEnvMatROp : public OpKernel { int* type_cpy; int frame_nall = nall; int mesh_tensor_size = static_cast(mesh_tensor.NumElements()); - std::vector tensor_list(7); // prepare coord and nlist _prepare_coord_nlist_gpu_rocm( context, &tensor_list[0], &coord, coord_cpy, &type, type_cpy, @@ -1371,7 +1369,6 @@ class ProdEnvMatAMixOp : public OpKernel { int* type_cpy; int frame_nall = nall; int mesh_tensor_size = static_cast(mesh_tensor.NumElements()); - std::vector tensor_list(7); // prepare coord and nlist _prepare_coord_nlist_gpu_rocm( context, &tensor_list[0], &coord, coord_cpy, &f_type, type_cpy,