Skip to content

Implement logical_not, local_and, logical_or, logical_xor in dpctl.tensor #1215

Closed
@oleksandr-pavlyk

Description

@oleksandr-pavlyk

Implement

  • logical_not per array API spec
  • logical_and per array API spec
  • logical_or per array API spec
  • logical_xor per array API spec

These are going to be useful to test comparison operators too.

These are supported for all supported types, and treat non-boolean types via convert_impl<bool, srcTy>(const srcTy &val).

Metadata

Metadata

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