Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 394
    • Issues 394
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !185

Fold accumulator neutral element uninitialised, fixes #2310

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hans-Nikolai Viessmann requested to merge hans/sac2c:issue-2310-fix into develop Mar 02, 2022
  • Overview 9
  • Commits 3
  • Changes 4

The fold WL accumulator was not being correctly updated by MMV, meaning that a dangling declaration but no initialisation persisted. This issue crops up when generating CUDA code, as the example in #2310 (closed) leads to the accumulator neutral element being passed into the CUDA kernel function.

Fixes #2310 (closed); see issue for more details.

Edited Mar 23, 2022 by Hans-Nikolai Viessmann
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: issue-2310-fix