missing headers
This commit is contained in:
parent
f6bc5ab918
commit
ffd9bb7a19
26
packages/cuda/memory.h
Normal file
26
packages/cuda/memory.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef _MEMORY_H_
|
||||
#define _MEMORY_H_
|
||||
|
||||
//#include <thrust/device_vector.h>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include "lista.h"
|
||||
|
||||
using namespace std;
|
||||
//using namespace thrust;
|
||||
|
||||
void calcular_mem(int);
|
||||
void liberar(int*, int);
|
||||
void limpiar();
|
||||
void limpiartodo(int*, int*);
|
||||
int cargar(int, int, int, int, int*, int**, int);
|
||||
int cargafinal(int, int, int**);
|
||||
void reservar(int**, int);
|
||||
void registrar(int, int, int*, int, int, int);
|
||||
bool generadas(int, int, int, int);
|
||||
void mostrar_memoria(void);
|
||||
void mostrar_memcpu(void);
|
||||
void clear_memory(void);
|
||||
void resultados(vector<rulenode>::iterator, vector<rulenode>::iterator);
|
||||
|
||||
#endif
|
16
packages/cuda/pred.h
Normal file
16
packages/cuda/pred.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef _PRED_H_
|
||||
#define _PRED_H_
|
||||
|
||||
typedef struct Nodo{
|
||||
int name;
|
||||
int num_rows;
|
||||
int num_columns;
|
||||
int is_fact;
|
||||
int *address_host_table;
|
||||
}gpunode;
|
||||
|
||||
typedef gpunode predicate;
|
||||
|
||||
int Cuda_Eval(predicate**, int, predicate**, int, predicate*, int**);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user