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