diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-05-25 14:17:21 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:53:09 +0000 |
commit | 376c85f3d826526b8b197c55e22c10765a97631e (patch) | |
tree | 049c80a392a404b2b3b29e8a245b580ea34ad9d6 /arm_compute/runtime/CPP/CPPScheduler.h | |
parent | 8e74f4488daf1b628ca718396d5fc72fea95a83d (diff) | |
download | ComputeLibrary-376c85f3d826526b8b197c55e22c10765a97631e.tar.gz |
COMPMID-1180: Add support for bucket multi-threading (Part2)
- Introduced some Hints allowing the function to set its favourite splitting method for a given workload
- Implemented the bucket split (Disabled by default)
Change-Id: I3a48dfb0bd0ec8b69a44d9c4a4c77ad3f6dc9827
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/133079
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'arm_compute/runtime/CPP/CPPScheduler.h')
-rw-r--r-- | arm_compute/runtime/CPP/CPPScheduler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arm_compute/runtime/CPP/CPPScheduler.h b/arm_compute/runtime/CPP/CPPScheduler.h index 6462ac6f2c..30bc4c8b70 100644 --- a/arm_compute/runtime/CPP/CPPScheduler.h +++ b/arm_compute/runtime/CPP/CPPScheduler.h @@ -56,10 +56,10 @@ public: * - ICPPKernel::is_parallelisable() returns false * - The scheduler has been initialized with only one thread. * - * @param[in] kernel Kernel to execute. - * @param[in] split_dimension Dimension along which to split the kernel's execution window. + * @param[in] kernel Kernel to execute. + * @param[in] hints Hints for the scheduler. */ - void schedule(ICPPKernel *kernel, unsigned int split_dimension) override; + void schedule(ICPPKernel *kernel, const Hints &hints) override; /** Will run the workloads in parallel using num_threads * |