HiRep 0.1
|
Functions initialize the GPU for the simulation and print collective information on cluster drivers, necessary software and available hardware. To be logged to simulation outfiles. More...
Functions | |
void | select_GPU (input_gpu gpu_var_init) |
Selects GPU(s) depending on whether MPI is enabled or not. | |
int | enable_GPU_peer_to_peer_access () |
Enables peer to peer access for GPUs connected to the same node. | |
void | init_gpu (input_gpu gpu_var_init) |
Call this in an init function to setup available graphics card for use. This also logs information on available software and hardware. | |
Functions initialize the GPU for the simulation and print collective information on cluster drivers, necessary software and available hardware. To be logged to simulation outfiles.
int enable_GPU_peer_to_peer_access | ( | ) |
Enables peer to peer access for GPUs connected to the same node.
input_gpu | A struct containing information on the current active GPU |
void init_gpu | ( | input_gpu | gpu_var_init | ) |
Call this in an init function to setup available graphics card for use. This also logs information on available software and hardware.
input_gpu | A struct containing information on the current active GPU |