Go to the source code of this file.
 | 
| type   | mask::mask_t | 
|   | Type for consistently handling masks in Neko. This type encapsulates the mask array and its associated device pointer.  More...
  | 
|   | 
 | 
| module   | mask | 
|   | Object for handling masks in Neko. 
  | 
|   | 
 | 
| subroutine  | mask::mask_allocate (this, n_elements) | 
|   | Allocate the mask object.  
  | 
|   | 
| subroutine  | mask::mask_free (this) | 
|   | Free the mask object.  
  | 
|   | 
| subroutine  | mask::init_from_array (this, mask_array, n_elements) | 
|   | Initialize the mask from a 1-indexed host array.  
  | 
|   | 
| subroutine  | mask::init_from_array_device (this, mask_array_d, n_elements) | 
|   | Initialize the mask from a 0-indexed device array.  
  | 
|   | 
| subroutine  | mask::init_from_mask (this, other) | 
|   | Initialize the mask from another mask object.  
  | 
|   | 
| pure integer function  | mask::mask_size (this) | 
|   | Get the size of the mask.  
  | 
|   | 
| pure logical function  | mask::mask_is_set (this) | 
|   | Check if the mask is set.  
  | 
|   | 
| integer function, dimension(:), pointer  | mask::mask_get (this) | 
|   | Get the mask array.  
  | 
|   | 
| integer function  | mask::mask_get_i (this, index) | 
|   | Get the mask array.  
  | 
|   | 
| type(c_ptr) function  | mask::mask_get_d (this) | 
|   | Get the device pointer to the mask array.  
  | 
|   | 
| subroutine  | mask::mask_set (this, mask_array, n_elements) | 
|   | Set the mask from a 1-indexed host array.  
  | 
|   | 
| subroutine  | mask::mask_set_d (this, mask_array_d, n_elements) | 
|   | Set the mask from a 0-indexed device array.  
  | 
|   |