Skip to content

Commit 38fad23

Browse files
jorgep31415facebook-github-bot
authored andcommitted
Fix conv2d_prepack_test (#3415)
Summary: Pull Request resolved: #3415 TIL smoke tests are not part of the CI. Forgot to update this in #3368 Reviewed By: yipjustin Differential Revision: D56739385 fbshipit-source-id: af45047d59ce1da873bf8d7bd8e68d5b07a31184
1 parent 44ec67d commit 38fad23

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

backends/vulkan/test/utils/test_utils.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ void record_conv2d_prepack_weights_op(
6464
api::VulkanBuffer& src_buffer,
6565
vTensor& v_dst,
6666
const std::vector<int64_t>& original_sizes,
67-
const std::vector<int64_t>& padded_sizes,
6867
const bool transposed) {
6968
api::PipelineBarrier pipeline_barrier{};
7069

@@ -80,8 +79,6 @@ void record_conv2d_prepack_weights_op(
8079

8180
api::UniformParamsBuffer original_sizes_ubo(
8281
context, api::utils::make_ivec4(original_sizes, /*reverse = */ true));
83-
api::UniformParamsBuffer padded_sizes_ubo(
84-
context, api::utils::make_ivec2(padded_sizes, /*reverse = */ true));
8582

8683
api::SpecVarList specialization_constants = {};
8784
context->submit_compute_job(
@@ -97,8 +94,7 @@ void record_conv2d_prepack_weights_op(
9794
api::MemoryAccessType::WRITE),
9895
src_buffer,
9996
v_dst.sizes_ubo(),
100-
original_sizes_ubo.buffer(),
101-
padded_sizes_ubo.buffer());
97+
original_sizes_ubo.buffer());
10298
}
10399

104100
void record_binary_op(

backends/vulkan/test/utils/test_utils.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ void record_conv2d_prepack_weights_op(
8787
api::VulkanBuffer& src_buffer,
8888
vTensor& v_dst,
8989
const std::vector<int64_t>& original_sizes,
90-
const std::vector<int64_t>& padded_sizes,
9190
const bool transposed);
9291

9392
void record_binary_op(

backends/vulkan/test/vulkan_compute_api_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1633,7 +1633,6 @@ void test_conv2d(
16331633
staging_buffer_in.buffer(),
16341634
vten,
16351635
original_sizes,
1636-
padded_sizes,
16371636
transposed);
16381637
record_image_to_nchw_op(api::context(), vten, staging_buffer_out.buffer());
16391638

0 commit comments

Comments
 (0)