Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
calculateHistogramUsingCL
Function · 0.45
tesselate_sphere
Function · 0.45
box_filter_image
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
test_fill
Function · 0.45
test_fill_n
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
ensure_std_accumulate_equality
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
Calls
1
context
Class · 0.70
Tested by
15
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
test_fill
Function · 0.36
test_fill_n
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
ensure_std_accumulate_equality
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
generate
Method · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36