Skip to content

[webgpu] Fix alignment issues in shader code - #23776

Merged
Guenther Schmuelling (guschmue) merged 1 commit into
microsoft:mainfrom
daijh:fix-alignment-in-shader-code
Feb 27, 2025
Merged

[webgpu] Fix alignment issues in shader code#23776
Guenther Schmuelling (guschmue) merged 1 commit into
microsoft:mainfrom
daijh:fix-alignment-in-shader-code

Conversation

@daijh

Copy link
Copy Markdown
Contributor

Description

This commit fixes alignment issues in shader code.

Motivation and Context

See above.

@daijh

Copy link
Copy Markdown
Contributor Author
fn main(@builtin(global_invocation_id) global_id : vec3<u32>,
        @builtin(workgroup_id) workgroup_id : vec3<u32>,
        @builtin(local_invocation_index) local_idx : u32,
        @builtin(local_invocation_id) local_id : vec3<u32>,
 @builtin(subgroup_invocation_id) sg_id : u32,
 @builtin(subgroup_size) sg_size : u32,
        @builtin(num_workgroups) num_workgroups : vec3<u32>) {

}

@guschmue Guenther Schmuelling (guschmue) added the ep:WebGPU ort-web webgpu provider label Feb 26, 2025
@guschmue

Copy link
Copy Markdown
Contributor

/azp run ONNX Runtime Web CI Pipeline,Windows GPU CI Pipeline,Linux Android Emulator QNN CI Pipeline

@guschmue

Copy link
Copy Markdown
Contributor

/azp run Linux CPU CI Pipeline,Linux CPU Minimal Build E2E CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline, Linux OpenVINO CI Pipeline,Linux QNN CI Pipeline,MacOS CI Pipeline,Windows ARM64 QNN CI Pipeline,Windows CPU CI Pipeline

@guschmue

Copy link
Copy Markdown
Contributor

/azp run Windows GPU TensorRT CI Pipeline,onnxruntime-binary-size-checks-ci-pipeline,orttraining-linux-ci-pipeline,orttraining-linux-gpu-ci-pipeline,orttraining-ortmodule-distributed,Windows x64 QNN CI Pipeline,Big Models

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@guschmue

Copy link
Copy Markdown
Contributor

/azp run Windows GPU CUDA CI Pipeline,Windows GPU DML CI Pipeline,Windows GPU Doc Gen CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 4 pipeline(s).

1 similar comment
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 4 pipeline(s).

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 9 pipeline(s).

@guschmue
Guenther Schmuelling (guschmue) merged commit c6664e2 into microsoft:main Feb 27, 2025
Guenther Schmuelling (guschmue) pushed a commit that referenced this pull request Mar 6, 2025
### Description
This commit fixes alignment issues in shader code.

### Motivation and Context
See above.
@daijh
Jianhui Dai (daijh) deleted the fix-alignment-in-shader-code branch March 12, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ep:WebGPU ort-web webgpu provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants