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/OMP/OMPScheduler.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/OMP/OMPScheduler.h')
-rw-r--r-- | arm_compute/runtime/OMP/OMPScheduler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arm_compute/runtime/OMP/OMPScheduler.h b/arm_compute/runtime/OMP/OMPScheduler.h index 21df6a699d..681a36aef5 100644 --- a/arm_compute/runtime/OMP/OMPScheduler.h +++ b/arm_compute/runtime/OMP/OMPScheduler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -53,10 +53,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; private: /** Constructor. */ |