CAMP Features¶
The following sections describe the main CAMP features. These sections are designed to familiarize users with CAMP and it’s capabilities, as well as provide syntactic examples of how to utilize CAMP.
CAMP has many features that mimic the C++ standard library. The benefit of using CAMP is that containers and structures, and the operations performed on them, can be run on a device, instead of just on the host, as the C++ standard library is limited to.
For more information about specific CAMP features, visit the pages below.
- Arrays
- Lists
- Introduction
- Usage and Example Code
- Creating a List
- Accessing Types with
at - Finding a Type with
find_if - Combining Lists with
extend,prepend, andappend - Flattening Nested Lists
- Performing transformations on elements of a list
- Operating on lists with the
Accumulateconstruct - Cartesian products of lists (an application of accumulate)
- Finding the first index of a type within a list
- Filtering Types with
filter
- Using Lists to make Maps
- Numeric types
- Device Resources
- Tuples