94b2b13d
Pedro Roque
PHACT source
|
1
2
3
4
|
/*
* cl_propagators.h
*
* Created on: 19/04/2016
|
4d26a735
Pedro Roque
Increased recogni...
|
5
|
* Author: pedro
|
94b2b13d
Pedro Roque
PHACT source
|
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
*/
#ifndef SRC_KERNELS_CL_PROPAGATORS_H_
#define SRC_KERNELS_CL_PROPAGATORS_H_
#ifndef __OPENCL_VERSION__
#include "../config.h"
#include "../domains.h"
#include "../utils/cl_syntax.h"
#include "cl_aux_functions.h"
#include "cl_constraints.h"
#include "cl_variables.h"
#include "cl_ttl.h"
void propagate(
|
4d26a735
Pedro Roque
Increased recogni...
|
22
23
24
|
CL_VS_MEM VARS* vs, CL_CS_MEM cl_constr* cs, CL_INTS_MEM int* cs_per_v_idx, CL_INTS_MEM int* vs_per_c_idx,
#if CS_AT_LEAST == 1 || CS_AT_MOST == 1 || CS_AT_MOST_ONE == 1 || CS_EXACTLY == 1 || CS_LINEAR == 1 || CS_LINEAR_LT == 1 || CS_LINEAR_NE == 1 || CS_LINEAR_VAR == 1 || CS_ELEMENT_INT_VAR == 1
CL_INTS_MEM int* c_consts,
|
94b2b13d
Pedro Roque
PHACT source
|
25
26
|
#endif
#if (CS_MAXIMIZE == 1 || CS_MINIMIZE == 1) && CL_WORK == CL_OPT
|
4d26a735
Pedro Roque
Increased recogni...
|
27
|
__global unsigned int* val_to_opt_g,
|
94b2b13d
Pedro Roque
PHACT source
|
28
29
|
#endif
#if CL_STATS == 1
|
4d26a735
Pedro Roque
Increased recogni...
|
30
|
__global unsigned long* nodes_fail,
|
94b2b13d
Pedro Roque
PHACT source
|
31
|
__global unsigned long* nodes_expl,
|
4d26a735
Pedro Roque
Increased recogni...
|
32
|
__global unsigned long* pruning,
|
94b2b13d
Pedro Roque
PHACT source
|
33
|
__global unsigned long* props_ok,
|
4d26a735
Pedro Roque
Increased recogni...
|
34
|
#endif
|
94b2b13d
Pedro Roque
PHACT source
|
35
|
CL_MEMORY VARS_PROP* vs_prop_, unsigned int prop_v_id, CL_MEMORY unsigned short* vs_id_to_prop_ TTL_CTR
|
4d26a735
Pedro Roque
Increased recogni...
|
36
|
#if CL_N_DEVS > 1
|
94b2b13d
Pedro Roque
PHACT source
|
37
38
39
40
|
, unsigned long* props_count
#endif
CS_IGNORE_FUNC, bool* prop_ok, __global int* terms_mem);
|