gpu.c: remove_local_accesses_group: update documentation
[ppcg.git] / util.h
blob19a22269a71595091a10fbc826093156a3005f6d
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);
18 __isl_give isl_multi_pw_aff *ppcg_size_from_extent(__isl_take isl_set *set);
20 #endif