|
VisionCpp
0.0.1
|
this is used for range check to make sure the index is within the range. More...
#include <memory_access.hpp>
Static Public Member Functions | |
| static bool | get (T &l, int &i, T &g) |
| function get More... | |
this is used for range check to make sure the index is within the range.
It uses the local value when the Conds are true. template parameters:
| Conds | determines whether or not the local variable should be used |
| LDSize | : determines the local dimension size |
| GDSize | determines the global dimension size |
| T | determines the type of the dimension index |
Definition at line 39 of file memory_access.hpp.
|
inlinestatic |
function get
returns the local range check:
| l | is the local dimension size |
| g | is the global dimension size |
| i | is the offset needed to be added to the local dimension before comparison |
Definition at line 47 of file memory_access.hpp.
Referenced by visioncpp::internal::get_compare().