MCPcopy Create free account
hub / github.com/PX4/eigen / conditional_aligned_malloc

Function conditional_aligned_malloc

Eigen/src/Core/util/Memory.h:212–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 * On allocation error, the returned pointer is null, and a std::bad_alloc is thrown.
211 */
212template<bool Align> EIGEN_DEVICE_FUNC inline void* conditional_aligned_malloc(std::size_t size)
213{
214 return aligned_malloc(size);
215}
216
217template<> EIGEN_DEVICE_FUNC inline void* conditional_aligned_malloc<false>(std::size_t size)
218{

Callers

nothing calls this directly

Calls 1

aligned_mallocFunction · 0.85

Tested by

no test coverage detected