Explorar el Código

define a poison value to help debugging

Cédric Augonnet hace 15 años
padre
commit
3bfae32576
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      include/starpu-util.h

+ 2 - 0
include/starpu-util.h

@@ -34,6 +34,8 @@
 extern "C" {
 #endif
 
+#define STARPU_POISON_PTR	((void *)0xdeadbeef)
+
 #define STARPU_MIN(a,b)	((a)<(b)?(a):(b))
 #define STARPU_MAX(a,b)	((a)<(b)?(b):(a))