OrtSessionOptionsAppendExecutionProvider_MIGraphX method
OrtStatusPtr
OrtSessionOptionsAppendExecutionProvider_MIGraphX(
- Pointer<
OrtSessionOptions> options, - int device_id
This is the old way to add the MIGraphX provider to the session, please use SessionOptionsAppendExecutionProvider_MIGraphX above to access the latest functionality This function always exists, but will only succeed if Onnxruntime was built with HIP support and the MIGraphX provider shared library exists
\param device_id HIP device id, starts from zero.
Implementation
OrtStatusPtr OrtSessionOptionsAppendExecutionProvider_MIGraphX(
ffi.Pointer<OrtSessionOptions> options,
int device_id,
) {
return _OrtSessionOptionsAppendExecutionProvider_MIGraphX(
options,
device_id,
);
}