[cig-commits] r19288 - seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/src/cuda

rietmann at geodynamics.org rietmann at geodynamics.org
Sat Dec 10 01:10:09 PST 2011


Author: rietmann
Date: 2011-12-10 01:10:08 -0800 (Sat, 10 Dec 2011)
New Revision: 19288

Modified:
   seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/src/cuda/specfem3D_gpu_cuda_method_stubs.c
Log:
fixed typedef typo when compiling on non-nvcc systems

Modified: seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/src/cuda/specfem3D_gpu_cuda_method_stubs.c
===================================================================
--- seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/src/cuda/specfem3D_gpu_cuda_method_stubs.c	2011-12-10 09:10:03 UTC (rev 19287)
+++ seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/src/cuda/specfem3D_gpu_cuda_method_stubs.c	2011-12-10 09:10:08 UTC (rev 19288)
@@ -1,7 +1,7 @@
 #include "config.h"
 #include <stdio.h>
 
-typedef realw realw;
+typedef float realw;
 
 /* from check_fields_cuda.cu */
 void FC_FUNC_(check_max_norm_displ_gpu,
@@ -324,7 +324,7 @@
 void FC_FUNC_(get_free_device_memory,
               get_FREE_DEVICE_MEMORY)(realw* free, realw* used, realw* total ){}
 
-extern "C"
+
 void FC_FUNC_(prepare_cuda_device,
               PREPARE_CUDA_DEVICE)(int* myrank_f,int* ncuda_devices){}
 



More information about the CIG-COMMITS mailing list