%\renewcommand\cleardoublepage{\clearpage\if@openright \ifodd\c@page\else
% \newpage{}
% \thispagestyle{empty}
% \vspace*{\fill}
% \begin{center}
% \end{center}
% \vspace*{\fill}
% \clearpage\fi\fi%
%}
\renewcommand\cleardoublepage{\clearpage\if@openright \ifodd\c@page\else
\newpage{}
\thispagestyle{empty}
\vspace*{\fill}
\begin{center}
\end{center}
\vspace*{\fill}
\clearpage\fi\fi%
}
\begin{table}[htbp]
\setlength{\tabcolsep}{2.2pt}
\centering
\caption{基于OpenCL性能比较}
\begin{tabularx}{0.9\linewidth}{ccc *{8}{Z}}
\toprule[1.5pt]
\multirow{2}{*}{$C\times H\times W$} &\multirow{2}{*}{$K$} &\multicolumn{1}{c}{$im2col$} &\multicolumn{1}{c}{FFT} &\multicolumn{3}{c}{Non-tuned Winograd} & \multicolumn{3}{c}{Auto-tuned Winograd}\\
\cmidrule(lr){3-3} \cmidrule(lr){4-4} \cmidrule(lr){5-7} \cmidrule(lr){8-10}
& &Msec &Msec &Msec &{$S_{im2col}$} &{$S_{FFT}$} &Msec &{$S_{im2col}$} &{$S_{FFT}$} \\
\midrule[1pt]
3$\times$006$\times$006 &32 &0.0 &0.6 &0.8 &0.2$\times$ &0.0$\times$ &0.0 &0.7$\times$ &0.6$\times$\\
32$\times$118$\times$118 &64 &0.0 &0.0 &0.0 &0.0$\times$ &0.0$\times$ &0.0 &0.0$\times$ &0.0$\times$\\
\bottomrule[1.5pt]
\end{tabularx}
\end{table}
%配置跨页算法包
% \makeatletter
\newenvironment{breakablealgorithm}
{% \begin{breakablealgorithm}
\begin{center}
\refstepcounter{algorithm}% New algorithm
\hrule height.8pt depth0pt \kern2pt% \@fs@pre for \@fs@ruled
\renewcommand{\caption}[2][\relax]{
% Make a new \caption
{\raggedright\textbf{算法~\thealgorithm} ##2\par}%
%{\raggedright\textbf{\ALG@name~\thealgorithm} ##2\par}%
\ifx\relax##1\relax % #1 is \relax
\addcontentsline{loa}{algorithm}{\protect\numberline{\thealgorithm}##2}%
\else % #1 is not \relax
\addcontentsline{loa}{algorithm}{\protect\numberline{\thealgorithm}##1}%
\fi
\kern2pt\hrule\kern2pt
}
\floatname{algorithm}{算法}
}{
\kern2pt\hrule\relax% \@fs@post for \@fs@ruled
\end{center}
}
% \end{breakablealgorithm}
% \makeatother
\renewcommand{\algorithmicrequire}{\textbf{输入:}}
\renewcommand{\algorithmicensure}{\textbf{输出:}}
\usepackage{pifont}
% Circled footnote symbols with pifont showing arrows
\newcommand*{\circnum}[1]{%
\expandafter\@circnum\csname c@#1\endcsname
}
\newcommand*{\@circnum}[1]{%
\ifnum#1<1 %
\@ctrerr
\else
\ifnum#1>20 %
\@ctrerr
\else
\ding{\the\numexpr 171+(#1)\relax}%
\fi
\fi
}
\renewcommand*{\thefootnote}{\circnum{footnote}}
\usepackage{array}
%The alignment of the cells could be changed by using the package tabularx and define three new row-types: flush left fixed width:
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}
%center fixed width
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
%flush right fixed width
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}
\begin{tabular}{|C{8em}|L{5em}|C{8em}|R{5em}|}
\hline
\multirow{2}{*}{states} &\multicolumn{3}{r|}{variables} \\
\cline{2-4}
&$i$ &$j$ &\multicolumn{1}{r|}{$n$}\\
\hline
1cm width &2cm width &3cm width &4cm width \\
test 1 & test 2 &test 3 &test 4\\
$s_0$ &0 &0 &6\\
$s_1$ &1 &1 &6\\
$s_2$ &2 &2 &6\\
\hline
\end{tabular}
\begin{enumerate}[label={[\arabic{enumi}]},itemsep=0pt,parsep=0pt,labelindent=0pt,
labelwidth=0pt,leftmargin=0pt,itemindent=2.5em,align=left]