mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Fix CUDA EP code example (#11777)
This commit is contained in:
parent
9b9a3cbe41
commit
1b3a09cd41
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ OrtCUDAProviderOptions options;
|
|||
options.device_id = 0;
|
||||
options.arena_extend_strategy = 0;
|
||||
options.gpu_mem_limit = 2 * 1024 * 1024 * 1024;
|
||||
options.cudnn_conv_algo_search = OrtCudnnConvAlgoSearch::EXHAUSTIVE;
|
||||
options.cudnn_conv_algo_search = OrtCudnnConvAlgoSearchExhaustive;
|
||||
options.do_copy_in_default_stream = 1;
|
||||
|
||||
SessionOptionsAppendExecutionProvider_CUDA(session_options, &options);
|
||||
|
|
|
|||
Loading…
Reference in a new issue