Open MPI logo

Portable Hardware Locality (hwloc) Documentation: v1.1.2

  |   Home   |   Support   |   FAQ   |  

cuda.h File Reference

Macros to help interaction between hwloc and the CUDA Driver API. More...

#include <hwloc.h>
#include <hwloc/autogen/config.h>
#include <hwloc/linux.h>
#include <cuda.h>

Go to the source code of this file.

Functions

static inline int hwloc_cuda_get_device_cpuset (hwloc_topology_t topology , CUdevice cudevice, hwloc_cpuset_t set)
 Get the CPU set of logical processors that are physically close to device cudevice.

Detailed Description

Macros to help interaction between hwloc and the CUDA Driver API.

Applications that use both hwloc and the CUDA Driver API may want to include this file so as to get topology information for CUDA devices.