浏览代码

define a poison value to help debugging

Cédric Augonnet 15 年之前
父节点
当前提交
3bfae32576
共有 1 个文件被更改,包括 2 次插入0 次删除
  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))