Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

omp: Move to cluster-local clint #269

Merged
merged 5 commits into from
Sep 27, 2021
Merged

omp: Move to cluster-local clint #269

merged 5 commits into from
Sep 27, 2021

Conversation

huettern
Copy link
Collaborator

Use the cluster-local clint for synchronization in OpenMP and further improvements

  • L3 allocator can be placed at an offset to _edram since in the cluster runtime the putc-buffer is placed there, the L3 allocator has to back off a bit
  • Rename sections in the linker script
  • Store kmpc arguments in TCDM instead of global memory for performance

Copy link
Contributor

@zarubaf zarubaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome (as always 😄)

sw/snRuntime/include/omp.h Outdated Show resolved Hide resolved
sw/snRuntime/src/omp/kmp.c Outdated Show resolved Hide resolved
sw/snRuntime/src/omp/kmp.c Outdated Show resolved Hide resolved
Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>
@huettern huettern merged commit a830c3a into master Sep 27, 2021
@huettern huettern deleted the runtime/omp-cl-clint branch September 27, 2021 05:48
paulsc96 pushed a commit to pulp-platform/snitch_cluster that referenced this pull request Jul 11, 2023
* omp: Move to cluster-local clint

* alloc: L3 allocation base is determined at runtime

* link: Cleanup HTIF section

* kmpc: Arguments correctly in TCDM

* doc: Comment typos

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>
paulsc96 pushed a commit to pulp-platform/snitch_cluster that referenced this pull request Jul 11, 2023
* omp: Move to cluster-local clint

* alloc: L3 allocation base is determined at runtime

* link: Cleanup HTIF section

* kmpc: Arguments correctly in TCDM

* doc: Comment typos

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>
paulsc96 pushed a commit to pulp-platform/snitch_cluster that referenced this pull request Jul 11, 2023
* omp: Move to cluster-local clint

* alloc: L3 allocation base is determined at runtime

* link: Cleanup HTIF section

* kmpc: Arguments correctly in TCDM

* doc: Comment typos

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>
colluca pushed a commit to pulp-platform/snitch_cluster that referenced this pull request Jul 11, 2023
* omp: Move to cluster-local clint

* alloc: L3 allocation base is determined at runtime

* link: Cleanup HTIF section

* kmpc: Arguments correctly in TCDM

* doc: Comment typos

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>
paulsc96 pushed a commit to pulp-platform/snitch_cluster that referenced this pull request Jul 11, 2023
* omp: Move to cluster-local clint

* alloc: L3 allocation base is determined at runtime

* link: Cleanup HTIF section

* kmpc: Arguments correctly in TCDM

* doc: Comment typos

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>
paulsc96 pushed a commit to pulp-platform/snitch_cluster that referenced this pull request Jul 11, 2023
* omp: Move to cluster-local clint

* alloc: L3 allocation base is determined at runtime

* link: Cleanup HTIF section

* kmpc: Arguments correctly in TCDM

* doc: Comment typos

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>

Co-authored-by: Florian Zaruba <zarubaf@iis.ee.ethz.ch>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants