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

Method submit_kernel

src/runtime/hip/hip_queue.cpp:341–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341result hip_queue::submit_kernel(kernel_operation &op, const dag_node_ptr& node) {
342
343 this->activate_device();
344
345 rt::backend_kernel_launch_capabilities cap;
346
347 cap.provide_multipass_invoker(&_multipass_code_object_invoker);
348 cap.provide_sscp_invoker(&_sscp_code_object_invoker);
349
350 hip_instrumentation_guard instrumentation{this, op, node.get()};
351 return op.get_launcher().invoke(backend_id::hip, this, cap, node.get());
352
353 return make_success();
354}
355
356result hip_queue::submit_prefetch(prefetch_operation& op, const dag_node_ptr& node) {
357 // Need to enable instrumentation even if we cannot enable actual

Callers

nothing calls this directly

Calls 9

activate_deviceMethod · 0.95
make_successFunction · 0.85
provide_sscp_invokerMethod · 0.80
getMethod · 0.45
invokeMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected