HiRep 0.1
Loading...
Searching...
No Matches
geometry_gpu_init.h
Go to the documentation of this file.
1/***************************************************************************\
2* Copyright (c) 2012, 2022, Ari Hietanen, Sofie Martins *
3* All rights reserved. *
4\***************************************************************************/
13
14#ifndef GEOMETRY_INIT_GPU_H
15#define GEOMETRY_INIT_GPU_H
16
17#ifdef WITH_GPU
18
19#include "gpu.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25//init_gpu.c
33void init_gpu(input_gpu gpu_var);
34
35// geometry_init_gpu.c
40void init_neighbors_gpu(void);
41
42#ifdef __cplusplus
43}
44#endif
45#endif
46#endif
void init_neighbors_gpu(void)
This function transfers geometry lookup tables and global variables to the device so that they are gl...
Definition geometry_init_gpu.c:10
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...
Definition init_gpu.c:31
Basic gpu imports and structs. Include this in files that define GPU logic.
Definition gpu.h:37