From 033863ab3d37574441183f65664d0c72ab2707be Mon Sep 17 00:00:00 2001 From: JP Appel Date: Fri, 26 Apr 2024 01:07:10 -0400 Subject: first pass at cuda implementation --- src/grids.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/grids.h') 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 #include #include +#ifndef __NVCC__ #include +#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); -- cgit v1.2.3