Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Potential deadlock in DeviceSelect? #245

@fkallen

Description

@fkallen

The decoupled look-back step to calculate the prefix sum requires results from all previous tiles.
In agent_select_if.cuh, thread blocks are mapped to tiles using the build-in blockId.
int tile_idx = (blockIdx.x * gridDim.y) + blockIdx.y;

Can this result in a dead-lock because the scheduling order of thread blocks is unspecified?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions