Skip to content

Can findOverlappingTris run on a GPU? How can I improve the performance of my Python version? #5617

@jiushi-ai

Description

@jiushi-ai

Hello!

findOverlappingTris runs in parallel across all mesh faces:

if ( BitSetParallelFor( mp.mesh.topology.getFaceIds( mp.region ), [&]( FaceId f )

Not sure how such parallelism could be implemented with python. Most likely this is main reason behind slowdown. And also general python efficiency loss.

Originally posted by @Grantim in #5567

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