File tree Expand file tree Collapse file tree
backends/vulkan/test/op_tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,7 +247,6 @@ std::vector<float> conv2d_ref_xnnpack(
247247 out_min,
248248 out_max,
249249 /* flags=*/ 0 ,
250- /* code_cache=*/ nullptr ,
251250 /* weights_cache=*/ nullptr ,
252251 &op);
253252 if (create_status != xnn_status_success || op == nullptr ) {
@@ -258,7 +257,7 @@ std::vector<float> conv2d_ref_xnnpack(
258257 }
259258
260259 size_t workspace_size = 0 ;
261- size_t workspace_alignment = 0 ;
260+ const size_t workspace_alignment = 128 ;
262261 size_t out_h = 0 ;
263262 size_t out_w = 0 ;
264263 const xnn_status reshape_status = xnn_reshape_convolution2d_nhwc_f32 (
@@ -267,7 +266,6 @@ std::vector<float> conv2d_ref_xnnpack(
267266 static_cast <size_t >(H_in),
268267 static_cast <size_t >(W_in),
269268 &workspace_size,
270- &workspace_alignment,
271269 &out_h,
272270 &out_w,
273271 /* threadpool=*/ nullptr );
You can’t perform that action at this time.
0 commit comments