mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-13 18:08:13 +00:00
Fix TRT doc (#19658)
### Description <!-- Describe your changes. --> ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> https://github.com/microsoft/onnxruntime/issues/19641
This commit is contained in:
parent
1a6b0a9072
commit
69ca776a80
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ cudaStreamCreate(&cuda_stream);
|
|||
// this implicitly sets "has_user_compute_stream"
|
||||
Ort::ThrowOnError(api.UpdateTensorRTProviderOptionsWithValue(cuda_options, "user_compute_stream", cuda_stream))
|
||||
|
||||
session_options.AppendExecutionProvider_TensorRT_V2(tensorrt_options);
|
||||
session_options.AppendExecutionProvider_TensorRT_V2(*tensorrt_options);
|
||||
/// below code can be used to print all options
|
||||
OrtAllocator* allocator;
|
||||
char* options;
|
||||
|
|
|
|||
Loading…
Reference in a new issue