Unverified Commit c0398ded authored by Zhuoran Yin's avatar Zhuoran Yin Committed by GitHub
Browse files

Fixing misspelled macro to enable MIOpen hidden find mode API (#1250)



* Fixing misspelled macro
Co-authored-by: default avatarPaul Fultz II <pfultz2@yahoo.com>
parent c99be32c
......@@ -11,9 +11,10 @@
#include <sstream>
#ifdef HAS_FIND_MODE_API
extern "C" miopenStatus_t miopenHiddenSetConvolutionFindMode(miopenConvolutionDescriptor_t convDesc,
int findMode);
#ifdef MIGRAPHX_HAS_FIND_MODE_API
extern "C" miopenStatus_t
miopenHiddenSetConvolutionFindMode(miopenConvolutionDescriptor_t convDesc, // NOLINT
int findMode); // NOLINT
#endif
namespace migraphx {
......@@ -104,7 +105,7 @@ inline convolution_descriptor make_conv(const T& op)
c.get(), padding.size(), padding.data(), stride.data(), dilation.data(), c_mode);
if(op.group > 1)
miopenSetConvolutionGroupCount(c.get(), op.group);
#ifdef HAS_FIND_MODE_API
#ifdef MIGRAPHX_HAS_FIND_MODE_API
miopenHiddenSetConvolutionFindMode(c.get(), 1); // Normal mode
#endif
return c;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment