rmlSetDMLFloat16Allowed

Sets support float16 computation.

rml_status rmlSetDMLFloat16Allowed(

rml_context context,

rml_bool flag);

API

DirectML Interoperation

Parameters

Parameter

Input/Output

Description

context

input

A valid context handle.

flag

input

Turns on or off float16 support.

Return and Status Codes

Returns one of the following status codes:

  • RML_OK if the operation is successful

  • RML_ERROR_BAD_PARAMETER otherwise

To get more details in case of failure, call rmlGetLastError().