From 44980a909933ef52e7a75951ef910a193d5c5a6b Mon Sep 17 00:00:00 2001 From: "Palicki, Stefan" Date: Wed, 18 Dec 2024 12:06:28 -0800 Subject: [PATCH] gpu: generic: sycl: fix typos in VDISPATCH_SUM calls --- src/gpu/generic/sycl/ref_sum.hpp | 2 +- src/gpu/generic/sycl/ref_sum_many_inputs.hpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gpu/generic/sycl/ref_sum.hpp b/src/gpu/generic/sycl/ref_sum.hpp index 89dd8b5aee1..0bec1af1845 100644 --- a/src/gpu/generic/sycl/ref_sum.hpp +++ b/src/gpu/generic/sycl/ref_sum.hpp @@ -73,7 +73,7 @@ struct ref_sum_t : public gpu::generic::sycl::primitive_t { } VDISPATCH_SUM_SC(set_default_params(), VERBOSE_UNSUPPORTED_TAG); - DISPATCH_SUM(n <= DNNL_REF_SUM_MAX_NUM_TENSORS, VERBOSE_BAD_PARAM, + VDISPATCH_SUM(n <= DNNL_REF_SUM_MAX_NUM_TENSORS, VERBOSE_BAD_PARAM, "n_inputs"); return init_conf(); diff --git a/src/gpu/generic/sycl/ref_sum_many_inputs.hpp b/src/gpu/generic/sycl/ref_sum_many_inputs.hpp index 7f3eb06a46c..24fede922c2 100644 --- a/src/gpu/generic/sycl/ref_sum_many_inputs.hpp +++ b/src/gpu/generic/sycl/ref_sum_many_inputs.hpp @@ -46,11 +46,11 @@ struct ref_sum_many_inputs_t : public gpu::generic::sycl::primitive_t { const int n = n_inputs(); VDISPATCH_SUM_SC(set_default_params(), VERBOSE_UNSUPPORTED_TAG); - VDISPATCH_SUM_SC( + VDISPATCH_SUM( attr()->has_default_values(), VERBOSE_UNSUPPORTED_ATTR); // prevent inf recursion - VDISPATCH_SUM_SC(n > DNNL_REF_SUM_MAX_NUM_TENSORS, - VERBOSE_BAD_PARAM, "n_inputs"); + VDISPATCH_SUM(n > DNNL_REF_SUM_MAX_NUM_TENSORS, VERBOSE_BAD_PARAM, + "n_inputs"); // the first kernel handles up to 8 inputs and remaining ones up to 7 const int n_kernels = n == 1