Replace __kernel, __constant, __global and __local qualifiers with macro for better control

This commit is contained in:
jsteube
2019-03-22 22:27:58 +01:00
parent 340d2ae7d3
commit adeeaee84a
825 changed files with 7926 additions and 7871 deletions
+6 -6
View File
@@ -521,7 +521,7 @@ DECLSPEC void m00100s (u32 *w, const u32 pw_len, KERN_ATTR_VECTOR ())
}
}
__kernel void m00100_m04 (KERN_ATTR_VECTOR ())
KERNEL_FQ void m00100_m04 (KERN_ATTR_VECTOR ())
{
/**
* base
@@ -559,7 +559,7 @@ __kernel void m00100_m04 (KERN_ATTR_VECTOR ())
m00100m (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_extra0_buf, d_extra1_buf, d_extra2_buf, d_extra3_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, il_cnt, digests_cnt, digests_offset, combs_mode, gid_max);
}
__kernel void m00100_m08 (KERN_ATTR_VECTOR ())
KERNEL_FQ void m00100_m08 (KERN_ATTR_VECTOR ())
{
/**
* base
@@ -597,7 +597,7 @@ __kernel void m00100_m08 (KERN_ATTR_VECTOR ())
m00100m (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_extra0_buf, d_extra1_buf, d_extra2_buf, d_extra3_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, il_cnt, digests_cnt, digests_offset, combs_mode, gid_max);
}
__kernel void m00100_m16 (KERN_ATTR_VECTOR ())
KERNEL_FQ void m00100_m16 (KERN_ATTR_VECTOR ())
{
/**
* base
@@ -635,7 +635,7 @@ __kernel void m00100_m16 (KERN_ATTR_VECTOR ())
m00100m (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_extra0_buf, d_extra1_buf, d_extra2_buf, d_extra3_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, il_cnt, digests_cnt, digests_offset, combs_mode, gid_max);
}
__kernel void m00100_s04 (KERN_ATTR_VECTOR ())
KERNEL_FQ void m00100_s04 (KERN_ATTR_VECTOR ())
{
/**
* base
@@ -673,7 +673,7 @@ __kernel void m00100_s04 (KERN_ATTR_VECTOR ())
m00100s (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_extra0_buf, d_extra1_buf, d_extra2_buf, d_extra3_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, il_cnt, digests_cnt, digests_offset, combs_mode, gid_max);
}
__kernel void m00100_s08 (KERN_ATTR_VECTOR ())
KERNEL_FQ void m00100_s08 (KERN_ATTR_VECTOR ())
{
/**
* base
@@ -711,7 +711,7 @@ __kernel void m00100_s08 (KERN_ATTR_VECTOR ())
m00100s (w, pw_len, pws, rules_buf, combs_buf, words_buf_r, tmps, hooks, bitmaps_buf_s1_a, bitmaps_buf_s1_b, bitmaps_buf_s1_c, bitmaps_buf_s1_d, bitmaps_buf_s2_a, bitmaps_buf_s2_b, bitmaps_buf_s2_c, bitmaps_buf_s2_d, plains_buf, digests_buf, hashes_shown, salt_bufs, esalt_bufs, d_return_buf, d_extra0_buf, d_extra1_buf, d_extra2_buf, d_extra3_buf, bitmap_mask, bitmap_shift1, bitmap_shift2, salt_pos, loop_pos, loop_cnt, il_cnt, digests_cnt, digests_offset, combs_mode, gid_max);
}
__kernel void m00100_s16 (KERN_ATTR_VECTOR ())
KERNEL_FQ void m00100_s16 (KERN_ATTR_VECTOR ())
{
/**
* base