Skip to content

Change 2D block store from OCL to SPV #3766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: whitneywhtsang/spirv_2dblockload
Choose a base branch
from

Conversation

whitneywhtsang
Copy link
Contributor

SPEC: SPV_INTEL_2d_block_io

Current Agama doesn't yet support the SPV extension, so test failures are expected.

Closes #3752

@whitneywhtsang whitneywhtsang self-assigned this Mar 26, 2025
@whitneywhtsang whitneywhtsang linked an issue Mar 26, 2025 that may be closed by this pull request
@whitneywhtsang whitneywhtsang force-pushed the whitneywhtsang/spirv_2dblockstore branch from 8e26c9f to b8691e3 Compare March 26, 2025 15:27
@whitneywhtsang whitneywhtsang force-pushed the whitneywhtsang/spirv_2dblockstore branch from b8691e3 to 2c181eb Compare March 26, 2025 15:40
Comment on lines +15 to +18
// CHECK-NEXT: [[ElemSize:%.*]] = llvm.mlir.constant(1 : i32) : i32
// CHECK-NEXT: [[TileWidth:%.*]] = llvm.mlir.constant(16 : i32) : i32
// CHECK-NEXT: [[TileHeight:%.*]] = llvm.mlir.constant(8 : i32) : i32
// CHECK-NEXT: [[VBlocks:%.*]] = llvm.mlir.constant(1 : i32) : i32
Copy link
Contributor

Choose a reason for hiding this comment

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

Use CHECK-DAG for the constants

Comment on lines +31 to +33
// CHECK-NEXT: [[TileWidth:%.*]] = llvm.mlir.constant(32 : i32) : i32
// CHECK-NEXT: [[TileHeight:%.*]] = llvm.mlir.constant(8 : i32) : i32
// CHECK-NEXT: [[VBlocks:%.*]] = llvm.mlir.constant(1 : i32) : i32
Copy link
Contributor

Choose a reason for hiding this comment

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

Use CHECK-DAG

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.

Change 2D block store from OCL to SPV builtin
2 participants