Rate This Document
Findability
Accuracy
Completeness
Readability

kutacc_af2_triangle_multiplication_equation

Intermediate step of triangle_multiplication, where left and right projections generate the parameter center_act via matrix multiplication.

Interface Definition

void kutacc_af2_triangle_multiplication_equation(kutacc_tensor_h center_act, kutacc_tensor_h left_proj_act, kutacc_tensor_h right_proj_act, int64_t n_res_gather, bool is_incoming);

Parameters

Table 1 Input parameter definition

Parameter

Type

Description

Input/Output

center_act

kutacc_tensor_h

Intermediate process parameter

Output

left_proj_act

kutacc_tensor_h

Left projection

Input

right_proj_act

kutacc_tensor_h

Right projection

Input

n_res_gather

int64_t

Number of residues

Input

is_incoming

bool

Whether the direction is the incoming direction

Input

Constraints on integer parameters of triangle_multiplication:

n_res_gather > 0

In single-process mode, n_res must be equal to n_res_gather. In multi-process mode, this condition does not need to be met.