MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / schedule_kernel_on_ctx

Function schedule_kernel_on_ctx

src/runtime/Utils.cpp:52–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void schedule_kernel_on_ctx(IRuntimeContext *ctx, ICPPKernel *kernel, const IScheduler::Hints &hints)
53{
54 if (ctx)
55 {
56 ARM_COMPUTE_ERROR_ON(ctx->scheduler() == nullptr);
57 ctx->scheduler()->schedule(kernel, hints);
58 }
59 else
60 {
61 NEScheduler::get().schedule(kernel, hints);
62 }
63}
64
65unsigned int calculate_number_of_stages_only_x_axis(size_t input_x_dimension, unsigned int axis)
66{

Callers

nothing calls this directly

Calls 2

schedulerMethod · 0.45
scheduleMethod · 0.45

Tested by

no test coverage detected