MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / KernelFunctor

Method KernelFunctor

tests/device_compilation_tests.cpp:165–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163struct KernelFunctor {
164
165 KernelFunctor(AccessorT acc) : acc(acc) {};
166
167 void operator() (sycl::item<1> item) const {
168 acc[0] = 300 + item.get_linear_id();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected