/ requested_number_of_floats should already take into account any strides, batch size, data layout (real, complex, hermitian, interleaved, planar)
| 55 | // requested_number_of_floats should already take into account any strides, |
| 56 | // batch size, data layout (real, complex, hermitian, interleaved, planar) |
| 57 | buffer_memory( size_t requested_number_of_floats ) |
| 58 | : cookie_size( 4 ) |
| 59 | , requested_floats( requested_number_of_floats ) |
| 60 | , memory_size_including_cookies( requested_number_of_floats + 2 * cookie_size ) |
| 61 | , memory( memory_size_including_cookies ) |
| 62 | { |
| 63 | clear(); |
| 64 | } |
| 65 | |
| 66 | /*****************************************************/ |
| 67 | ~buffer_memory() { |
nothing calls this directly
no outgoing calls
no test coverage detected