Skip to content

Commit

Permalink
cpu: ref_resampling: fix sum post-op
Browse files Browse the repository at this point in the history
  • Loading branch information
tczeszun authored and vpirogov committed Jul 5, 2023
1 parent ec0b2ee commit f333bb8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cpu/ref_resampling.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright 2019-2022 Intel Corporation
* Copyright 2019-2023 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -22,6 +22,7 @@
#include "common/math_utils.hpp"
#include "common/type_helpers.hpp"

#include "cpu/ref_io_helper.hpp"
#include "cpu/resampling_utils.hpp"

#include "cpu/ref_resampling.hpp"
Expand Down Expand Up @@ -195,7 +196,7 @@ void ref_resampling_fwd_t::execute_forward(const exec_ctx_t &ctx) const {
args.ctx = &ctx;
args.dst_md = pd()->dst_md();
args.l_offset = data_l_off;
args.dst_val = dst[data_p_off];
args.dst_val = io::load_float_value(dst_dt, dst, data_p_off);
ref_post_ops_.execute(res, args);

store_fn(res, dst, data_p_off);
Expand Down

0 comments on commit f333bb8

Please sign in to comment.