| 279 | * On allocation error, the returned pointer is null, and a std::bad_alloc is thrown. |
| 280 | */ |
| 281 | template<bool Align> EIGEN_DEVICE_FUNC inline void* conditional_aligned_malloc(std::size_t size) |
| 282 | { |
| 283 | return aligned_malloc(size); |
| 284 | } |
| 285 | |
| 286 | template<> EIGEN_DEVICE_FUNC inline void* conditional_aligned_malloc<false>(std::size_t size) |
| 287 | { |
nothing calls this directly
no test coverage detected