MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / max_size

Method max_size

compute/include/boost/compute/buffer.hpp:134–137  ·  view source on GitHub ↗

\internal_

Source from the content-addressed store, hash-verified

132
133 /// \internal_
134 size_t max_size() const
135 {
136 return get_context().get_device().max_memory_alloc_size();
137 }
138
139 /// Returns information about the buffer.
140 ///

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 2

max_memory_alloc_sizeMethod · 0.80
get_deviceMethod · 0.45

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36