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

Method get_context

include/boost/compute/kernel.hpp:172–175  ·  view source on GitHub ↗

Returns the context for the kernel.

Source from the content-addressed store, hash-verified

170
171 /// Returns the context for the kernel.
172 context get_context() const
173 {
174 return context(get_info<cl_context>(CL_KERNEL_CONTEXT));
175 }
176
177 /// Returns information about the kernel.
178 ///

Callers 15

tesselate_sphereFunction · 0.45
box_filter_imageFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
test_fillFunction · 0.45
test_fill_nFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 1

contextClass · 0.70

Tested by 15

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
test_fillFunction · 0.36
test_fill_nFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
generateMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36