Skip to content

device debug print helper #226

Description

@bd4

With the new default backend (not using thrust), it's not easy to print a single value or small range of values out of a device gtensor object.

Possible APIs:

  • member function, .host_view(...slice..), normal view if is host accessible, otherwise copies
  • free function, gt::device_print(a, ...slice...)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions