Deterministic

Function Usage

Sets whether to enable deterministic computing.

Prototype

1
OpTilingContextBuilder &Deterministic(int32_t deterministic)

Parameters

Parameter

Input/Output

Description

deterministic

Input

Whether deterministic computing is enabled (1: enabled; 0: disabled).

Returns

A reference to the OpTilingContextBuilder object. It is used for chaining method calls.

Constraints

  • This API must be called before the Build method call. Otherwise, the constructed TilingContext will contain undefined data.
  • The caller has the memory ownership of the void* parameter passed through a pointer. They must ensure that the pointer is valid throughout the lifecycle of the ContextHolder object.