DFX_IN

Function Usage

Encapsulates the input parameters of L2 first-phase API aclnnXxxGetWorkspaceSize.

Prototype

DFX_IN(...)

Parameters

Parameter

Input/Output

Description

...

Input

Variable-length input parameters of the L2 first-phase API on the host.

Constraints

None.

Example

1
2
// Input parameters of the add operator: self, other, and alpha
DFX_IN(self, other, alpha);