Manipulate the mask to can count the number of components to download. (See Aqua::CalcServer::MPISync for details)
More...
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 usize * | mask, |
|
|
__global usize * | submask, |
|
|
const unsigned int | proc, |
|
|
const usize | 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 usize * | mask, |
|
|
__global usize * | submask, |
|
|
const unsigned int | proc, |
|
|
const usize | 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 usize * | mask, |
|
|
const unsigned int | proc, |
|
|
const usize | offset, |
|
|
const usize | n ) |
Set mask value
- Parameters
-
mask | Processes mask |
proc | Selected process |
offset | First element to be set |
n | Number of elements to be set |