Skip to content

multithread add operation in kernel 'renderCUDA_count' #24

Open
@humphryey131

Description

@humphryey131

Hi guys, I am wondering if the following accumulation in renderCUDA_count kernel shall use atomic operation :
image
As far as I know, the collected_id[j] in different parallel threads may run into idential value. Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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