File: casted_static_array.cl

package info (click to toggle)
oclgrind 21.10-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,216 kB
  • sloc: cpp: 21,369; ansic: 6,395; lisp: 1,122; python: 124; makefile: 19
file content (31 lines) | stat: -rw-r--r-- 757 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
void transparent_crc_no_string(ulong *p1, ulong p2) { *p1 += p2; }
int get_linear_global_id() {
  return (get_global_id(2) * get_global_size(1) + get_global_id(1)) *
             get_global_size(0) +
         get_global_id(0);
}
union U5 {
  short f0;
  int f3;
};
struct S6 {
  union U5 g_75[5][7][2];
  union U5 **g_91[78];
};
__kernel void casted_static_array(__global ulong *p1) {
  int i, j, k;
  struct S6 c_864;
  struct S6 *p_863 = &c_864;
  union U5 *p_863_6;
  struct S6 c_865 = {{{{{0xD54EL}}}}, {&p_863_6}};
  c_864 = c_865;
  ulong crc64_context = i = 0;
  for (; i < 9; i++) {
    j = 0;
    {
      k = 0;
      { transparent_crc_no_string(&crc64_context, p_863->g_75[i][j][k].f0); }
    }
  }
  p1[get_linear_global_id()] = crc64_context;
}