Skip to content

Add LOGICAL_AND pointwise op support#304

Open
rsuderman wants to merge 1 commit intoiree-org:mainfrom
rsuderman:pointwise_logical_and
Open

Add LOGICAL_AND pointwise op support#304
rsuderman wants to merge 1 commit intoiree-org:mainfrom
rsuderman:pointwise_logical_and

Conversation

@rsuderman
Copy link
Copy Markdown
Contributor

No description provided.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Rob Suderman <rob.suderman@gmail.com>
@rsuderman rsuderman requested a review from sjain-stanford April 3, 2026 22:57
// TORCH-CHECK: %[[PERM1_3:.+]] = torch.constant.int 3
// TORCH-CHECK: %[[PERM1_LIST:.+]] = torch.prim.ListConstruct %[[PERM1_0]], %[[PERM1_1]], %[[PERM1_2]], %[[PERM1_3]] : (!torch.int, !torch.int, !torch.int, !torch.int) -> !torch.list<int>
// TORCH-CHECK: %[[PERMUTE1:.+]] = torch.aten.permute %[[ARG1]], %[[PERM1_LIST]] : !torch.vtensor<[1,256,1,1],f32>, !torch.list<int> -> !torch.vtensor<[1,256,1,1],f32>
// TORCH-CHECK: %[[CEIL:.+]] = torch.aten.logical_and %[[PERMUTE0]], %[[PERMUTE1]] : !torch.vtensor<[16,256,64,32],f32>, !torch.vtensor<[1,256,1,1],f32> -> !torch.vtensor<[16,256,64,32],i1>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Copy paste error (this isn't CEIL).

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.

2 participants