MCPcopy Create free account
hub / github.com/dblalock/bolt / conditional_aligned_malloc

Function conditional_aligned_malloc

cpp/src/external/eigen/src/Core/util/Memory.h:303–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 * On allocation error, the returned pointer is null, and a std::bad_alloc is thrown.
302 */
303template<bool Align> EIGEN_DEVICE_FUNC inline void* conditional_aligned_malloc(size_t size)
304{
305 return aligned_malloc(size);
306}
307
308template<> EIGEN_DEVICE_FUNC inline void* conditional_aligned_malloc<false>(size_t size)
309{

Callers

nothing calls this directly

Calls 1

aligned_mallocFunction · 0.85

Tested by

no test coverage detected