Skip to content

Commit

Permalink
[GPU] Fix unit tests ph5
Browse files Browse the repository at this point in the history
  • Loading branch information
p-durandin committed Oct 7, 2024
1 parent 5cf98d8 commit 0c80f10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ layout tile_inst::calc_output_layout(tile_node const& node, kernel_impl_params c
std::vector<int64_t> repeats = desc->repeats;

auto out_shape = input_layout.get_dims();
for (size_t i = 0; i < std::min(repeats.size(), out_shape.size()); ++i) {
for (size_t i = 0; i < repeats.size(); ++i) {
out_shape[i] *= repeats[i];
}
return layout{input_layout.data_type, input_format, tensor(input_format, out_shape)};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class tile_gpu: public ::testing::Test {

auto config = get_test_default_config(engine);
if (impl_type != impl_types::any)
config.set_property(ov::intel_gpu::force_implementations(ov::intel_gpu::ImplForcingMap{ {"tile", {format::bfyx, "", impl_types::cpu}} }));
config.set_property(ov::intel_gpu::force_implementations(ov::intel_gpu::ImplForcingMap{ {"tile", {format::bfzyx, "", impl_types::cpu}} }));

cldnn::network::ptr network = get_network(engine, topology, config, get_test_stream_ptr(), is_caching_test);
network->set_input_data("input", input);
Expand Down

0 comments on commit 0c80f10

Please sign in to comment.