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

Method arity

compute/include/boost/compute/kernel.hpp:160–163  ·  view source on GitHub ↗

Returns the number of arguments for the kernel.

Source from the content-addressed store, hash-verified

158
159 /// Returns the number of arguments for the kernel.
160 size_t arity() const
161 {
162 return get_info<cl_uint>(CL_KERNEL_NUM_ARGS);
163 }
164
165 /// Returns the program for the kernel.
166 program get_program() const

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64