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

Method default_queue

include/boost/compute/container/vector.hpp:770–775  ·  view source on GitHub ↗

\internal_ Returns a command queue usable to issue commands for the vector's memory buffer. This is used when a member function is called without specifying an existing command queue to use.

Source from the content-addressed store, hash-verified

768 /// memory buffer. This is used when a member function is called without
769 /// specifying an existing command queue to use.
770 command_queue default_queue() const
771 {
772 const context &context = m_allocator.get_context();
773 command_queue queue(context, context.get_device());
774 return queue;
775 }
776
777private:
778 /// \internal_

Callers 1

vectorMethod · 0.45

Calls 2

get_contextMethod · 0.45
get_deviceMethod · 0.45

Tested by

no test coverage detected