Skip to content

Commit

Permalink
Fix unittest failure
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonbok committed Feb 10, 2025
1 parent 815006c commit 1f95911
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ void generic_reshape_test(format fmt, tensor const& input_size, tensor const& re
reshape_size.add(tensor(default_fmt, lower_sizes, 0)).add(tensor(default_fmt, upper_sizes, 0)));

{
cldnn::mem_lock<const ElemType> output_ptr(output, get_test_stream());
auto output_lockable = engine.allocate_memory(output->get_layout());
output->copy_to(get_test_stream(), *output_lockable, true);
cldnn::mem_lock<const ElemType> output_ptr(output_lockable, get_test_stream());
auto output_itr = output_ptr.begin();

auto sizes = reshape_size.sizes(fmt);
Expand Down

0 comments on commit 1f95911

Please sign in to comment.