This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/cuda/memory.h

28 lines
699 B
C
Raw Normal View History

2013-10-09 13:33:10 +01:00
#ifndef _MEMORY_H_
#define _MEMORY_H_
#include <list>
#include <vector>
#include "lista.h"
using namespace std;
2016-04-19 23:30:02 +01:00
bool comparer(const rulenode&, const rulenode&);
2013-10-17 00:44:24 +01:00
void limpiar(const char [], size_t);
2013-10-09 13:33:10 +01:00
void limpiartodo(int*, int*);
int cargar(int, int, int, int, int*, int**, int);
2016-04-19 23:30:02 +01:00
int cargarcpu(int, int, int, int, int*, int**, int);
2013-10-09 13:33:10 +01:00
int cargafinal(int, int, int**);
2016-04-19 23:30:02 +01:00
void reservar(int**, size_t);
2013-10-09 13:33:10 +01:00
void registrar(int, int, int*, int, int, int);
2016-04-19 23:30:02 +01:00
void registrarcpu(int, int, int*, int, int, int);
2013-10-09 13:33:10 +01:00
bool generadas(int, int, int, int);
2016-04-19 23:30:02 +01:00
void sumar(int, int*, int, int);
void liberar(int);
2013-10-09 13:33:10 +01:00
void mostrar_memoria(void);
void mostrar_memcpu(void);
void clear_memory(void);
2016-04-19 23:30:02 +01:00
void clear_memory_all(void);
2013-10-09 13:33:10 +01:00
#endif