Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/compute
/ exec
Method
exec
include/boost/compute/algorithm/search_n.hpp:70–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
}
69
70
event exec(command_queue &queue)
71
{
72
if(m_count == 0) {
73
return event();
74
}
75
76
set_arg(m_n_arg, uint_(m_n));
77
set_arg(m_value_arg, m_value);
78
79
return exec_1d(queue, 0, m_count);
80
}
81
82
private:
83
size_t m_n;
Callers
1
search_n
Function · 0.45
Calls
1
event
Class · 0.85
Tested by
no test coverage detected