gpu backend: create single kernel for entire subtree without permutable bands
[ppcg.git] / util.h
blob3120ea74ea0a4a9e3560f781fc896a49863624f6
1 #ifndef UTIL_H
2 #define UTIL_H
4 #include <string.h>
6 #include <isl/space.h>
7 #include <isl/val.h>
9 /* Compare the prefix of "s" to "prefix" up to the length of "prefix".
11 static inline int prefixcmp(const char *s, const char *prefix)
13 return strncmp(s, prefix, strlen(prefix));
16 __isl_give isl_multi_val *ppcg_multi_val_from_int(__isl_take isl_space *space,
17 int val);
19 #endif