Skip to content

Channel Operations May Fail Depending on DeallocOp() Placement #660

@hunhoffe

Description

@hunhoffe

This is part of my effort to write examples using channels in a variety of ways (#648).

I've been having some issues with getting worker-to-worker (core-to-core within a herd) data movement with channels to work. I managed to make it work, but the program is extremely brittle.

For instance, moving a deallocation sooner caused the program to work, where if I had my deallocations at the end, the output was all zeroes.

My code is found here: #697
The commit to move the dealloc ops that fixed the example is: 17162b1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions