Version that works with CUDA
[charm.git] / src / libs / ck-libs / ParFUM-Tops / ParFUM_TOPS_Types.h
index cba08e6eaef073b7d545c2e567ff367e84fbe1be..a21bb6b11448688a86adbf691c16c0246c19af96 100644 (file)
@@ -5,11 +5,13 @@
 
 #ifdef FP_TYPE_FLOAT
 #warning "Using floats for various things"
-typedef double FP_TYPE_HIGH;
+typedef float FP_TYPE;
+typedef float FP_TYPE_HIGH;
 typedef float FP_TYPE_LOW;
 typedef float FP_TYPE_SYNC;
 #else
 #warning "Using doubles for various things"
+typedef double FP_TYPE;
 typedef double FP_TYPE_HIGH;
 typedef double FP_TYPE_LOW;
 typedef double FP_TYPE_SYNC;