AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Functions
MPISync.cl.in File Reference

Manipulate the mask to can count the number of components to download. (See Aqua::CalcServer::MPISync for details) More...

Functions

__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)
 

Detailed Description

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.

Function Documentation

◆ 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
maskOriginal processes mask
submaskMask of the selected process
procSelected process
NNumber 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
maskOriginal processes mask
submaskMask of the selected process
procSelected process
NNumber 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
maskProcesses mask
procSelected process
offsetFirst element to be set
nNumber of elements to be set