From effedcd204d57f9e92f47036f7b0a6513b6b3304 Mon Sep 17 00:00:00 2001 From: Artur Wojcik Date: Mon, 4 Mar 2024 17:40:30 +0100 Subject: [PATCH] fix after mergin #2469: remove extra spaces (#2855) --- src/targets/gpu/jit/roialign.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/targets/gpu/jit/roialign.cpp b/src/targets/gpu/jit/roialign.cpp index fd4a89c117b..ded8c10e907 100644 --- a/src/targets/gpu/jit/roialign.cpp +++ b/src/targets/gpu/jit/roialign.cpp @@ -77,12 +77,12 @@ struct roialign_compiler : compiler auto mode = v.at("mode").to(); std::string is_avg_pooling = (mode == migraphx::op::pooling_mode::average) ? "true" : "false"; - options.emplace_param(" -DIS_AVG_POOLING=" + is_avg_pooling); + options.emplace_param("-DIS_AVG_POOLING=" + is_avg_pooling); // coord_trans_mode auto ctm = v.at("coordinate_transformation_mode").to(); float rois_offset = (ctm == "half_pixel") ? -0.5f : 0.0f; - options.emplace_param(" -DROIS_OFFSET=" + std::to_string(rois_offset)); + options.emplace_param("-DROIS_OFFSET=" + std::to_string(rois_offset)); // spatial_scale options.emplace_param("-DSPATIAL_SCALE=" + v.at("spatial_scale").to());