MCPcopy Create free account
hub / github.com/boostorg/compute / local_buffer

Method local_buffer

include/boost/compute/memory/local_buffer.hpp:39–42  ·  view source on GitHub ↗

Creates a local buffer object for \p size elements.

Source from the content-addressed store, hash-verified

37public:
38 /// Creates a local buffer object for \p size elements.
39 local_buffer(const size_t size)
40 : m_size(size)
41 {
42 }
43
44 /// Creates a local buffer object as a copy of \p other.
45 local_buffer(const local_buffer &other)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected