Skip to content

CUDA streams in ATen #7800

@pietern

Description

@pietern

To juggle CUDA streams from C++ I need to call THCState_getCurrentStreamOnDevice and friends. It would be nice to have an ATen wrapper for this to not have to include files from TH*.

The ATen include tree doesn't expose anything CUDA specific though, so some discussion is warranted before adding a wrapper. What would be the right place such a wrapper?

@ezyang @goldsborough @zdevito

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