\IfFileExists{oidn-doc/intel-spec.cls}
{
\documentclass[oneside]{oidn-doc/intel-spec}
}{
\documentclass[oneside]{report}
\newcommand{\copyrightyears}[1] {}
\newcommand{\trademarkacknowledgment}[1] {}
\newcommand{\ftcdisclaimer}{}
\newcommand{\ftcoptimizationnotice}{}
\newcommand{\makedisclaimers}{}
\newcommand{\version}[1] { \author{Version ##1} }
}
\include{preamble}
\begin{document}
\title{Intel® Open Image Denoise\vskip0.3\baselineskip\LARGE
\noindent High-Performance Denoising Library\\for Ray Tracing}
\version{\oidnversion}
\maketitle
\tableofcontents
\input{tmp/overview}
\input{tmp/changelog}
\input{tmp/compilation}
\addtocontents{toc}{\protect\setcounter{tocdepth}{2}}
\hypersetup{bookmarksdepth=2}
\input{tmp/api}
\addtocontents{toc}{\protect\setcounter{tocdepth}{1}}
\hypersetup{bookmarksdepth=1}
\input{tmp/examples}
\makedisclaimers
\end{document}