MIOpen
MIOpen copied to clipboard
BathNorm tune API
Now the priorities for find enforce are:
- FindOptions
- TuningPolicy (this is the new thing)
- MIOPEN_FIND_ENFORCE value
- defaulting to FindEnforceAction::None
This PR introduces TuningPolicy (this is the new thing)
This allows us to Tune from API.
miopenSetTuningPolicy(handle, miopenTuningPolicySearch); // set tuning
miopenBatchnorm...(...);
miopenSetTuningPolicy(handle, miopenTuningPolicyNone); // unset tuning
This effect is not limited to bnorm.