mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-03 03:58:54 +00:00
added miopenGetConvolutionSpatialDim if ROCm5.5 (#14772)
The API should be `miopenGetConvolutionSpatialDim(cdesc, &spatial_dim)`, NOT `miopenGetConvolutionDescriptorSize(cdesc, &spatial_dim)`
This commit is contained in:
parent
0ebe8e34f8
commit
6e2ca15140
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ struct FNVHash {
|
|||
void HashConvolutionDescriptor(miopenConvolutionDescriptor_t cdesc) {
|
||||
int spatial_dim = 1;
|
||||
#if ROCM_VERSION >= 50500
|
||||
miopenGetConvolutionDescriptorSize(cdesc, &spatial_dim);
|
||||
miopenGetConvolutionSpatialDim(cdesc, &spatial_dim);
|
||||
#else
|
||||
// Previous versions of MIOpen doesn't provide API to probe the dimension of a
|
||||
// miopenConvolutionDescriptor_t, so we have to guess.
|
||||
|
|
|
|||
Loading…
Reference in a new issue