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