LevelS C++ support library  3.83
Functions
openmp_support.h File Reference
#include "share_utils.h"

Go to the source code of this file.

Functions

void openmp_calc_share (int64 glo, int64 ghi, int64 &lo, int64 &hi)
 

Detailed Description

Various OpenMP-related convenience functions

Copyright (C) 2005-2011 Max-Planck-Society

Author
Martin Reinecke

Definition in file openmp_support.h.

Function Documentation

◆ openmp_calc_share()

void openmp_calc_share ( int64  glo,
int64  ghi,
int64 &  lo,
int64 &  hi 
)
inline

Calculates the range of indices between glo and ghi which must be processed by this thread and returns it in lo and hi.

The indices ghi and hi are "one past the last real index", in analogy to the STL iterators.

Definition at line 82 of file openmp_support.h.


Generated on Wed Nov 13 2024 12:18:16 for LevelS C++ support library