ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
EspressoGpuDevice Struct Reference

Struct to hold information relevant to ESPResSo about GPUs. More...

#include <init.hpp>

Public Attributes

int id
 Local CUDA device id.
 
char name [256]
 Local CUDA device name.
 
char proc_name [64]
 Node identification.
 
int node
 MPI process identification.
 
int compute_capability_major
 Compute capability (major)
 
int compute_capability_minor
 Compute capability (minor)
 
std::size_t total_memory
 Total Memory.
 
int n_cores
 Number of cores.
 

Detailed Description

Struct to hold information relevant to ESPResSo about GPUs.

Should contain only fixed-length plain old datatypes, as it is intended for MPI communication.

Definition at line 35 of file init.hpp.

Member Data Documentation

◆ compute_capability_major

int EspressoGpuDevice::compute_capability_major

Compute capability (major)

Definition at line 45 of file init.hpp.

◆ compute_capability_minor

int EspressoGpuDevice::compute_capability_minor

Compute capability (minor)

Definition at line 47 of file init.hpp.

◆ id

int EspressoGpuDevice::id

Local CUDA device id.

Definition at line 37 of file init.hpp.

Referenced by CompareDevices::operator()().

◆ n_cores

int EspressoGpuDevice::n_cores

Number of cores.

Definition at line 51 of file init.hpp.

◆ name

char EspressoGpuDevice::name[256]

Local CUDA device name.

Definition at line 39 of file init.hpp.

◆ node

int EspressoGpuDevice::node

MPI process identification.

Definition at line 43 of file init.hpp.

◆ proc_name

char EspressoGpuDevice::proc_name[64]

Node identification.

Definition at line 41 of file init.hpp.

Referenced by CompareDevices::operator()().

◆ total_memory

std::size_t EspressoGpuDevice::total_memory

Total Memory.

Definition at line 49 of file init.hpp.


The documentation for this struct was generated from the following file: