From 71a68f8400baea1171ee3361a8444ac20163ea12 Mon Sep 17 00:00:00 2001 From: Manolis Papadakis Date: Fri, 7 Oct 2022 15:33:11 -0700 Subject: [PATCH] MatVec & MatVecMul use reduction stores, not outputs --- src/cunumeric/mapper.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cunumeric/mapper.cc b/src/cunumeric/mapper.cc index 855121cd2..ada6ca268 100644 --- a/src/cunumeric/mapper.cc +++ b/src/cunumeric/mapper.cc @@ -119,14 +119,14 @@ std::vector CuNumericMapper::store_mappings( // TODO: Our actual requirements are a little less strict than this; we require each array or // vector to have a stride of 1 on at least one dimension. std::vector mappings; - auto& inputs = task.inputs(); - auto& outputs = task.outputs(); + auto& inputs = task.inputs(); + auto& reductions = task.reductions(); for (auto& input : inputs) { mappings.push_back(StoreMapping::default_mapping(input, options.front())); mappings.back().policy.exact = true; } - for (auto& output : outputs) { - mappings.push_back(StoreMapping::default_mapping(output, options.front())); + for (auto& reduction : reductions) { + mappings.push_back(StoreMapping::default_mapping(reduction, options.front())); mappings.back().policy.exact = true; } return std::move(mappings);