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

Method array

include/boost/compute/container/array.hpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 };
67
68 explicit array(const context &context = system::default_context())
69 : m_buffer(context, sizeof(T) * N)
70 {
71 }
72
73 array(const array<T, N> &other)
74 : m_buffer(other.m_buffer.get_context(), sizeof(T) * N)

Callers

nothing calls this directly

Calls 4

copyFunction · 0.85
get_contextMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected