Manipulate the mask to can count the number of components to download. (See Aqua::CalcServer::MPISync for details)
More...
|
__kernel void | n_offset_mask (const __global unsigned int *mask, __global unsigned int *submask, unsigned int proc, unsigned int N) |
|
__kernel void | n_send_mask (const __global unsigned int *mask, __global unsigned int *submask, unsigned int proc, unsigned int N) |
|
__kernel void | set_mask (__global unsigned int *mask, unsigned int proc, unsigned int offset, unsigned int n) |
|
Manipulate the mask to can count the number of components to download. (See Aqua::CalcServer::MPISync for details)
- Note
- The header CalcServer/MPISync.hcl.in is automatically appended.
◆ n_offset_mask()
__kernel void n_offset_mask |
( |
const __global unsigned int * |
mask, |
|
|
__global unsigned int * |
submask, |
|
|
unsigned int |
proc, |
|
|
unsigned int |
N |
|
) |
| |
Extract the submask from the selected process
- Parameters
-
mask | Original processes mask |
submask | Mask of the selected process |
proc | Selected process |
N | Number of elements into the mask |
◆ n_send_mask()
__kernel void n_send_mask |
( |
const __global unsigned int * |
mask, |
|
|
__global unsigned int * |
submask, |
|
|
unsigned int |
proc, |
|
|
unsigned int |
N |
|
) |
| |
Extract the submask from the selected process
- Parameters
-
mask | Original processes mask |
submask | Mask of the selected process |
proc | Selected process |
N | Number of elements into the mask |
◆ set_mask()
__kernel void set_mask |
( |
__global unsigned int * |
mask, |
|
|
unsigned int |
proc, |
|
|
unsigned int |
offset, |
|
|
unsigned int |
n |
|
) |
| |
Set mask value
- Parameters
-
mask | Processes mask |
proc | Selected process |
offset | First element to be set |
n | Number of elements to be set |