MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / size_in_bytes

Method size_in_bytes

src/tests/buffer_memory.h:107–110  ·  view source on GitHub ↗

/ returns the amount of memory currently allocated to the buffer in bytes

Source from the content-addressed store, hash-verified

105 /*****************************************************/
106 // returns the amount of memory currently allocated to the buffer in bytes
107 size_t size_in_bytes()
108 {
109 return (memory_size_including_cookies - 2 * cookie_size) * sizeof(T);
110 }
111
112 /*****************************************************/
113 // N.B. memory will be cleared after this

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected