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

Method submit_kernel

src/runtime/ocl/ocl_code_object.cpp:21–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace rt {
20
21result ocl_sscp_code_object_invoker::submit_kernel(
22 const kernel_operation &op, hcf_object_id hcf_object,
23 const rt::range<3> &num_groups, const rt::range<3> &group_size,
24 unsigned int local_mem_size, void **args, std::size_t *arg_sizes,
25 std::size_t num_args, std::string_view kernel_name,
26 const rt::hcf_kernel_info *kernel_info,
27 const kernel_configuration &config) {
28
29 assert(_queue);
30
31 return _queue->submit_sscp_kernel_from_code_object(
32 hcf_object, kernel_name, kernel_info, num_groups, group_size,
33 local_mem_size, args, arg_sizes, num_args, config);
34}
35
36ocl_executable_object::ocl_executable_object(const cl::Context& ctx, cl::Device& dev,
37 hcf_object_id source, const std::string& code_image, const kernel_configuration &config)

Callers

nothing calls this directly

Tested by

no test coverage detected