Fix includes for kernel2cpu_rule_test

pull/352/merge
Jens Steube 8 years ago
parent a496ab7be5
commit 9f45ceb128

@ -5,7 +5,7 @@
GCC := gcc
ROOT := ../..
CFLAGS := -O2 -s -pipe -W -Wall -std=c99 -I$(ROOT)/include/
CFLAGS := -O2 -s -pipe -W -Wall -std=c99 -I$(ROOT)/include/ -I$(ROOT)/OpenCL/
LIBS :=
TARGET := kernel2cpu_rule_test
INCLUDE := $(ROOT)/src/rp_kernel_on_cpu.c cpu_rules.c

@ -6,7 +6,8 @@
#ifndef CPU_RULES_H
#define CPU_RULES_H
#include <common.h>
#include "common.h"
#include "inc_rp.h"
#include "rp_cpu.h"
#define BLOCK_SIZE 64

@ -3,15 +3,13 @@
* License.....: MIT
*/
#include <common.h>
#define RULES_PER_PLAIN_MIN 1
#define RULES_PER_PLAIN_MIN 1
#define RULES_PER_PLAIN_MAX 99
#define RP_GEN_FUNC_MIN 1
#define RP_GEN_FUNC_MAX 4
#define RP_GEN_FUNC_MIN 1
#define RP_GEN_FUNC_MAX 4
#define PW_MAX 32
#define LINE_SIG_LEN RP_GEN_FUNC_MAX * 2 + 1
3
int max_len = 0;
#include "cpu_rules.h"
@ -61,7 +59,7 @@ int main (int argc, char **argv)
char *rule_buf = (char *) malloc (HCBUFSIZ);
char *line_buf = (char *) mymalloc (HCBUFSIZ);
char *line_buf = (char *) malloc (HCBUFSIZ);
int rp_gen_func_min = RP_GEN_FUNC_MIN;
int rp_gen_func_max = RP_GEN_FUNC_MAX;

Loading…
Cancel
Save