Skip to content

Is there an example of how to build a custom op with sycl ? #29

Description

@whatdhack

Describe the problem

There appears to be no documentation on how to build a custom op in sycl.

Source code / logs

Activity

  1. Rbiessy commented on Apr 16, 2020

    @Rbiessy

    You're right we don't have instructions for that. The official guide for creating an op would be a really good place to start. SYCL is not mentioned there but the GPU sections are still relevant.

    If you want more details looking at examples in our source code would be my best advice. For instance adding SYCL support to an existing core operation: bincount_op.cc
    Adding an operation in a separate shared library: ops/topt_engine_op.cc and kernels/topt_engine_op.cc.

    If you need any further help, feel free to ask questions here.

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