HiRep 0.1
Loading...
Searching...
No Matches
geometry_gpu_init.h File Reference

Initialization functions, that determine all important parameters of the geometry, so that communications and operations can be completed correctly. More...

#include "gpu.h"
Include dependency graph for geometry_gpu_init.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void init_gpu (input_gpu gpu_var)
 Call this in an init function to setup available graphics card for use. This also logs information on available software and hardware.
 
void init_neighbors_gpu (void)
 This function transfers geometry lookup tables and global variables to the device so that they are globally available.
 

Detailed Description

Initialization functions, that determine all important parameters of the geometry, so that communications and operations can be completed correctly.

Function Documentation

◆ init_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.

Headerfile for:

Parameters
input_gpuA struct containing information on the current active GPU
input_gpuA struct containing information on the current active GPU