Adnotate kernel arguments with: read, write, copy-host.

This commit is contained in:
Paul Irofti 2025-03-21 12:48:14 +02:00
parent ee3bece75c
commit 293eae3d5c

View file

@ -52,10 +52,14 @@ nchoosek(int n, int k)
* *
* INPUT: * INPUT:
* k - current input * k - current input
* nofvalues (ninputs x 1) - number of values * nofvalues (ninputs x 1) - read, copy-host - number of values
* nofpi (ninputs x 1) - number of prime implicants * ON_set (posrows x ninputs) - read, copy-host - ON set
* ON_set (posrows x ninputs) - ON set * OFF_set (ninputs x negrows) - read, copy-host - OFF set
* OFF_set (ninputs x negrows) - 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: * CONSTANTS:
* NINPUTS - number of inputs * NINPUTS - number of inputs
@ -79,7 +83,6 @@ nchoosek(int n, int k)
__kernel void __kernel void
ccubes_task(int k, ccubes_task(int k,
__global const real *nofvalues, __global const real *nofvalues,
__global const real *nofpi,
__global const real *ON_set, __global const real *ON_set,
__global const real *OFF_set, __global const real *OFF_set,
__global const unsigned int *p_implicants_pos, __global const unsigned int *p_implicants_pos,