RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
RAJA::iteration_mapping::DirectUnchecked Struct Reference

#include <types.hpp>

Inheritance diagram for RAJA::iteration_mapping::DirectUnchecked:
RAJA::iteration_mapping::DirectUncheckedBase

Detailed Description

DirectUnchecked assumes the loop has the same number of iterations and indices and maps directly without bounds checking from an iteration to an index.

For example a loop with 4 iterations mapping indices from a range of size 4. int iterations = 4; int range_size = 4; for (int i = 0; i < iterations; ++i) { int index = i; printf("%i -> {%i}", i, index); } // 0 -> {0} // 1 -> {1} // 2 -> {2} // 3 -> {3}


The documentation for this struct was generated from the following file: