diff --git a/include/miopen/miopen.h b/include/miopen/miopen.h index 82907855ab..923906df56 100644 --- a/include/miopen/miopen.h +++ b/include/miopen/miopen.h @@ -1605,7 +1605,7 @@ miopenConvolutionBackwardWeightsGetSolution(miopenHandle_t handle, * as part of the * miopenConvSolution_t struct. * - * @param handle MIOpen handle (input + * @param handle MIOpen handle (input) * @param dyDesc Tensor descriptor for data tensor dy (input) * @param xDesc Tensor descriptor for data tensor x (input) * @param convDesc Convolution layer descriptor (input) diff --git a/src/include/miopen/solver/implicitgemm_ck_util.hpp b/src/include/miopen/solver/implicitgemm_ck_util.hpp index e6cceaef0f..64665b2af2 100644 --- a/src/include/miopen/solver/implicitgemm_ck_util.hpp +++ b/src/include/miopen/solver/implicitgemm_ck_util.hpp @@ -680,7 +680,7 @@ ConvSolution InitInvokerFactoryNCHW(const ExecutionContext& ctx, internal::MakeTaggedTransposeInstances( result, ctx, problem, ck_args, input1_op, input2_op, output_op, _ck_buff_des); - result.invoker_factory = [split_k = split_k, + result.invoker_factory = [split_k, ck_args = std::move(ck_args), sh_conv_ptr = std::shared_ptr{std::move(*ptr_iter)}, input1_tr_inst = std::move(_input1_tr_inst), @@ -689,7 +689,7 @@ ConvSolution InitInvokerFactoryNCHW(const ExecutionContext& ctx, output_init_tr_inst = std::move(_output_init_tr_inst), ck_buff_des = _ck_buff_des](const std::vector& kernels) mutable { - return [split_k = split_k, + return [split_k, kernels, ck_args = std::move(ck_args), sh_conv_ptr = std::move(sh_conv_ptr), @@ -697,8 +697,8 @@ ConvSolution InitInvokerFactoryNCHW(const ExecutionContext& ctx, input2_tr_inst = std::move(input2_tr_inst), output_tr_inst = std::move(output_tr_inst), output_init_tr_inst = std::move(output_init_tr_inst), - ck_buff_des = ck_buff_des](const Handle& handle, - const AnyInvokeParams& primitive_parameters) mutable { + ck_buff_des](const Handle& handle, + const AnyInvokeParams& primitive_parameters) mutable { handle.ResetKernelTime(); const auto& data_ctx = primitive_parameters.CastTo(); @@ -826,17 +826,17 @@ ConvSolution InitInvokerFactoryNHWC(const ExecutionContext&, [[maybe_unused]] bool should_allocated_wrw_buffer = ShouldAllocateWorkSpaceBufferForWRW(problem); - result.invoker_factory = [split_k = split_k, - ck_args = CKArgsType{problem}, - alpha_beta_case = alpha_beta_case, - should_allocated_wrw_buffer = should_allocated_wrw_buffer, + result.invoker_factory = [split_k, + ck_args = CKArgsType{problem}, + alpha_beta_case, + should_allocated_wrw_buffer, sh_conv_ptr = std::shared_ptr{std::move(*ptr_iter)}]( const std::vector&) mutable { - return [split_k = split_k, - ck_args = std::move(ck_args), - alpha_beta_case = alpha_beta_case, - should_allocated_wrw_buffer = should_allocated_wrw_buffer, - sh_conv_ptr = std::move(sh_conv_ptr)]( + return [split_k, + ck_args = std::move(ck_args), + alpha_beta_case, + should_allocated_wrw_buffer, + sh_conv_ptr = std::move(sh_conv_ptr)]( const Handle& handle, const AnyInvokeParams& primitive_parameters) { const auto& data_ctx = primitive_parameters.CastTo(); std::unique_ptr argument_ptr;