                 }
             }
         }
-#if USE_TENSOR_OP_MATH
+#if USE_TENSOR_CORES
         if (!inference) {
             pad_value = 8;
             if (c % pad_value) {

            fwd_algo_ = fwd_perf.algo;
        }
#endif
#if CUDNN_MAJOR >= 7 && USE_TENSOR_OP_MATH
        fwd_algo_ = CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM;
#endif
        if (std::is_same<T1, uint8_t>::value) {

#define PAD_KERNELS 1
#endif

#ifndef USE_TENSOR_CORES
#define USE_TENSOR_CORES 1
#endif


