Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GPU] parameter's event will be included execution args #21377

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/plugins/intel_gpu/src/graph/primitive_inst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,6 @@ event::ptr primitive_inst::execute(const std::vector<event::ptr>& events) {
if (out_of_order_queue || _impl->is_cpu() || (can_be_optimized() && needs_completion_event() && !is_output())) {
dependencies.reserve(dependencies.size() + _exec_deps.size());
for (auto& input : _exec_deps) {
if (input->is_input() && !out_of_order_queue)
continue;
auto id = input->id();
try {
// if the requested event does not exists it means that it has not been executed, so the processing_order is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ class condition_gpu_tests: public ::testing::Test {
const primitive_id branch_input_id = "branch_input";
const primitive_id model_input = "input";
const primitive_id predicate_input = "predicate";
const primitive_id reorder_id = "reorder";
const primitive_id tranpose = "transpose";

cldnn::topology topology;
Expand All @@ -391,8 +390,7 @@ class condition_gpu_tests: public ::testing::Test {
condition::branch branch_true = generate_simple_branch(true, branch_input_id, data_types::f32);
condition::branch branch_false = generate_simple_branch(false, branch_input_id, data_types::f32);

topology.add(reorder(reorder_id, input_info(predicate_input), { {d1, -1, -1, d2}, data_types::f32, format::bfyx }));
topology.add(condition(condition_id, { reorder_id, tranpose }, branch_true, branch_false));
topology.add(condition(condition_id, { input_info(predicate_input), tranpose }, branch_true, branch_false));

tests::random_generator rg(GET_SUITE_NAME);
std::vector<uint8_t> predicate_data_true = { 1 };
Expand Down
Loading