Skip to content

Add aten::eye for PrivateUse1 (closes #23). - #115

Open
samthakur587 wants to merge 1 commit into
mainfrom
feat/op-23-eye
Open

samthakur587 wants to merge 1 commit into
mainfrom
feat/op-23-eye

Conversation

@samthakur587

Copy link
Copy Markdown
Owner

Build identity matrices via zeros plus a diagonal eye_kernel on float32; fall back to CPU eye plus copy for other dtypes.

Summary

Type of change

  • Bug fix
  • New feature (kernel, op, compiler pass)
  • Documentation
  • CI / packaging
  • Refactor

Checklist

  • Tests added or updated (pytest tests/ -v)
  • CHANGELOG.md updated under Unreleased (if user-visible)
  • Docs updated in docs/ or README.md (if APIs or build steps changed)
  • Host and OpenCL kernel paths kept in sync (if kernel change)
  • CI passes locally or in PR checks

Test plan

pytest tests/ -v

Screenshots / benchmarks (optional)

Build identity matrices via zeros plus a diagonal eye_kernel on float32;
fall back to CPU eye plus copy for other dtypes.

Co-authored-by: Cursor <cursoragent@cursor.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant