[ROCm] change miopen_conv_use_max_workspace=true (#14982)

Change miopen_conv_use_max_workspace=true to get best algorithm during
`miopenFindConvolutionForwardAlgorithm` process.
This commit is contained in:
PeixuanZuo 2023-03-13 16:19:23 +08:00 committed by GitHub
parent 448e989df8
commit c55f347689
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,10 @@ struct ROCMExecutionProviderInfo {
// arena config.
OrtArenaCfg* default_memory_arena_cfg{nullptr};
ROCMExecutionProviderExternalAllocatorInfo external_allocator_info{};
bool miopen_conv_use_max_workspace{false};
// By default, try to use as much as possible memory for algo search.
// If set to false, use fix workspace size (32M) for Conv algo search, the final algo might not be the best.
bool miopen_conv_use_max_workspace{true};
rocm::TunableOpInfo tunable_op{};