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

include raw *.cu file #60

Open
Open

Description

@zeroexcuses

Is there a way to mix rust-accel with raw *.cu files?

I would like to write some device helper functions in *.cu, then call them from #[kernel] functions defined in rust-accel.

Is there an example for how to do this?

Activity

  1. termoshtt commented on Jan 6, 2019

    @termoshtt
    Owner

    I would like to write some device helper functions in *.cu, then call them from #[kernel] functions defined in rust-accel.

    It is impossible currently.

    Possible way is to link cubin compiled from *.cu and #[kernel] at runtime using accel::module::link API.

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions