Browse Source

Skip test on 32bit platforms :/

Samuel Thibault 6 years ago
parent
commit
ab4eb002db
1 changed files with 6 additions and 0 deletions
  1. 6 0
      examples/dependency/sequential_consistency.c

+ 6 - 0
examples/dependency/sequential_consistency.c

@@ -119,6 +119,12 @@ int main(void)
 	starpu_tag_t tagA = 421;
 	starpu_tag_t tagC = 842;
 
+	if (sizeof(starpu_tag_t) > sizeof(void*))
+	{
+		// Can't pass a tag_t through callback arg :/
+		return 77;
+	}
+
         ret = starpu_init(NULL);
 	if (STARPU_UNLIKELY(ret == -ENODEV))
 	{