[GPU] Move unit test file to the proper location (#18545)

This commit is contained in:
Sungeun Kim
2023-07-14 19:19:56 +09:00
committed by GitHub
parent 7f94bd4c12
commit 181238bcfb

View File

@@ -3,6 +3,7 @@
//
#include "test_utils.h"
#include "random_generator.hpp"
#include "intel_gpu/graph/network.hpp"
#include "intel_gpu/graph/program.hpp"
@@ -37,11 +38,12 @@ TEST(weights_factory, shape_types) {
TEST(weights_factory, reorder_test) {
auto& engine = get_test_engine();
tests::random_generator rg(GET_SUITE_NAME);
const int input_f = 32, output_f = 32;
auto weights_layout = layout(ov::PartialShape{ output_f, input_f }, data_types::f32, format::bfyx);
auto weights_data_input = engine.allocate_memory(weights_layout);
auto weights_data_vec = generate_random_1d<float>(output_f * input_f, -1, 1);
auto weights_data_vec = rg.generate_random_1d<float>(output_f * input_f, -1, 1);
set_values(weights_data_input, weights_data_vec);
cldnn::topology topology {