\hypertarget{cuda_8h}{\section{opal/mca/hwloc/hwloc132/hwloc/include/hwloc/cuda.h File Reference}
\label{cuda_8h}\index{opal/mca/hwloc/hwloc132/hwloc/include/hwloc/cuda.\+h@{opal/mca/hwloc/hwloc132/hwloc/include/hwloc/cuda.\+h}}
}


Macros to help interaction between hwloc and the C\+U\+D\+A Driver A\+P\+I.  


{\ttfamily \#include $<$hwloc.\+h$>$}\\*
{\ttfamily \#include $<$hwloc/autogen/config.\+h$>$}\\*
{\ttfamily \#include $<$hwloc/linux.\+h$>$}\\*
{\ttfamily \#include $<$cuda.\+h$>$}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static \+\_\+\+\_\+hwloc\+\_\+inline int \hyperlink{group__hwlocality__cuda_gae06cf330d2f0d9949feb52b146b7d136}{hwloc\+\_\+cuda\+\_\+get\+\_\+device\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+unused, C\+Udevice cudevice, \hyperlink{group__hwlocality__sets_ga4bbf39b68b6f568fb92739e7c0ea7801}{hwloc\+\_\+cpuset\+\_\+t} set)
\begin{DoxyCompactList}\small\item\em Get the C\+P\+U set of logical processors that are physically close to device {\ttfamily cudevice}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Macros to help interaction between hwloc and the C\+U\+D\+A Driver A\+P\+I. 

Applications that use both hwloc and the C\+U\+D\+A Driver A\+P\+I may want to include this file so as to get topology information for C\+U\+D\+A devices. 