|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
A fixed-size array that compiles for both host and device. More...


Go to the source code of this file.
Classes | |
| struct | EBGeometry::Array< T, N > |
| Fixed-size array with host- and device-callable members. More... | |
Namespaces | |
| namespace | EBGeometry |
| Namespace containing all of EBGeometry's functionality. | |
A fixed-size array that compiles for both host and device.
std::array's member functions are constexpr host functions, which nvcc rejects in device code unless every translation unit is compiled with –expt-relaxed-constexpr. The library uses this instead, everywhere under Source/; Scripts/CheckDeviceMath.py enforces that.