aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/grids.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/grids.h')
-rw-r--r--src/grids.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/grids.h b/src/grids.h
index 942bb7f..b823c91 100644
--- a/src/grids.h
+++ b/src/grids.h
@@ -3,7 +3,9 @@
#include <stddef.h>
#include <stdio.h>
#include <stdbool.h>
+#ifndef __NVCC__
#include <complex.h>
+#endif
#include "precision.h"
//grid write errors
@@ -35,7 +37,10 @@ void free_grid(grid_t* grid);
bool grid_equal(const grid_t* grid1, const grid_t* grid2);
bool grid_allclose(const grid_t* grid1, const grid_t* grid2, const size_t max_error);
+#ifndef __NVCC__
CBASE complex grid_to_complex(const grid_t* grid, const size_t index);
+#endif
+
void zoom_grid(grid_t* grid, const CBASE magnification);
void print_grid_info(const grid_t* grid);