Skip to content

device debug print helper #226

@bd4

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...)

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