Make it easier to include OpenCL kernels into modules

This commit is contained in:
jsteube
2019-04-04 20:01:37 +02:00
parent 9ced13cc94
commit d7d716f3ab
7 changed files with 68 additions and 104 deletions

View File

@@ -15,6 +15,14 @@
#define HAS_VBFE 0
#define VECT_SIZE 1
#ifdef DGST_ELEM
typedef struct digest
{
u32 digest_buf[DGST_ELEM];
} digest_t;
#endif
u32 atomic_dec (u32 *p);
u32 atomic_inc (u32 *p);