Small addendum to #10216 (#10225)

Accidentally left out a header
This commit is contained in:
Hariharan Seshadri 2022-01-07 20:24:47 -08:00 committed by GitHub
parent 2a8cf1507c
commit d66b856fb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,6 +146,8 @@ SessionOptionsAppendExecutionProvider_CUDA_V2(session_options, cuda_options);
ReleaseCUDAProviderOptions(cuda_options);
```
### C#
```c#
var cudaProviderOptions = new OrtCUDAProviderOptions(); // Dispose this finally
@ -160,4 +162,4 @@ providerOptionsDict["cudnn_conv_use_max_workspace"] = "1";
cudaProviderOptions.UpdateOptions(providerOptionsDict);
SessionOptions options = SessionOptions.MakeSessionOptionWithCudaProvider(cudaProviderOptions); // Dispose this finally
```
```