Adnotate kernel arguments with: read, write, copy-host.
This commit is contained in:
parent
ee3bece75c
commit
293eae3d5c
1 changed files with 8 additions and 5 deletions
13
ccubes.cl
13
ccubes.cl
|
@ -52,10 +52,14 @@ nchoosek(int n, int k)
|
|||
*
|
||||
* INPUT:
|
||||
* k - current input
|
||||
* nofvalues (ninputs x 1) - number of values
|
||||
* nofpi (ninputs x 1) - number of prime implicants
|
||||
* ON_set (posrows x ninputs) - ON set
|
||||
* OFF_set (ninputs x negrows) - OFF set
|
||||
* nofvalues (ninputs x 1) - read, copy-host - number of values
|
||||
* ON_set (posrows x ninputs) - read, copy-host - ON set
|
||||
* OFF_set (ninputs x negrows) - read, copy-host - OFF set
|
||||
* p_implicants_pos - read, copy-host
|
||||
* p_implicants_val - read, copy-host
|
||||
* last_index - read, copy-host
|
||||
* p_covered - read, copy-host
|
||||
* p_pichart_pos - read, copy-host
|
||||
*
|
||||
* CONSTANTS:
|
||||
* NINPUTS - number of inputs
|
||||
|
@ -79,7 +83,6 @@ nchoosek(int n, int k)
|
|||
__kernel void
|
||||
ccubes_task(int k,
|
||||
__global const real *nofvalues,
|
||||
__global const real *nofpi,
|
||||
__global const real *ON_set,
|
||||
__global const real *OFF_set,
|
||||
__global const unsigned int *p_implicants_pos,
|
||||
|
|
Loading…
Add table
Reference in a new issue