From efd6339ff5d5d73528b07771ffde668787dee826 Mon Sep 17 00:00:00 2001
From: Pietro Incardona <i-bird@private-incardon-3.mpi-cbg.de>
Date: Thu, 12 May 2016 18:20:08 +0200
Subject: [PATCH] Minor Fix for CUDA compilation with SE_CLASS2

---
 src/Memleak_check.hpp    | 1 +
 src/memory/CudaMemory.cu | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/Memleak_check.hpp b/src/Memleak_check.hpp
index 7b8b8f0..dcdf9d8 100644
--- a/src/Memleak_check.hpp
+++ b/src/Memleak_check.hpp
@@ -28,6 +28,7 @@ typedef unsigned char * byte_ptr;
 
 #include "util/se_util.hpp"
 #include "ptr_info.hpp"
+#include <string>
 
 #define MEM_ERROR 1300lu
 
diff --git a/src/memory/CudaMemory.cu b/src/memory/CudaMemory.cu
index 8610430..1f083e4 100644
--- a/src/memory/CudaMemory.cu
+++ b/src/memory/CudaMemory.cu
@@ -5,6 +5,8 @@
 #include "cuda_macro.h"
 #include <cstring>
 
+#define CUDA_EVENT 0x1201
+
 /*! \brief Allocate a chunk of memory
  *
  * Allocate a chunk of memory
-- 
GitLab