SetSplitRange

Function Usage

Sets the maximum and minimum values of baseM, baseN, and baseK. Currently, tiling does not support this function.

Prototype

1
int32_t SetSplitRange(int32_t maxBaseM = -1, int32_t maxBaseN = -1, int32_t maxBaseK = -1, int32_t minBaseM = -1, int32_t minBaseN = -1, int32_t minBaseK = -1)

Parameters

Table 1 Parameters

Parameter

Input/Output

Description

maxBaseM

Input

Maximum value of baseM. The default value is -1. The value -1 indicates that the maximum value of baseM is not set. Instead, it is calculated by the tiling function.

maxBaseN

Input

Maximum value of baseN. The default value is -1. The value -1 indicates that the maximum value of baseN is not set. Instead, it is calculated by the tiling function.

maxBaseK

Input

Maximum value of baseK. The default value is -1. The value -1 indicates that the maximum value of baseK is not set. Instead, it is calculated by the tiling function.

minBaseM

Input

Minimum value of baseM. The default value is -1. The value -1 indicates that the minimum value of baseM is not set. Instead, it is calculated by the tiling function.

minBaseN

Input

Minimum value of baseN. The default value is -1. The value -1 indicates that the minimum value of baseN is not set. Instead, it is calculated by the tiling function.

minBaseK

Input

Minimum value of baseK. The default value is -1. The value -1 indicates that the minimum value of baseK is not set. Instead, it is calculated by the tiling function.

Returns

-1: setting failed; 0: setting succeeded.

Precautions

None