Skip to content

Commit 8b272a3

Browse files
authored
1 parent cbd2526 commit 8b272a3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

compiler/plugins/target/WebGPUSPIRV/test/smoketest.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module attributes {
55
hal.device.targets = [
66
#hal.device.target<"webgpu", [
77
#hal.executable.target<"webgpu-spirv", "webgpu-wgsl-fb", {
8-
iree_codegen.target_info = #iree_gpu.target<arch = "", features = "spirv:v1.0,cap:Shader,ext:SPV_KHR_storage_buffer_storage_class", wgp = <
8+
iree_codegen.target_info = #iree_gpu.target<arch = "", features = "spirv:v1.0,cap:Shader,ext:SPV_KHR_storage_buffer_storage_class,ext:SPV_KHR_non_semantic_info", wgp = <
99
compute = fp32|int32, storage = b32, subgroup = none, subgroup_size_choices = [32],
1010
max_workgroup_sizes = [128, 128, 64], max_thread_count_per_workgroup = 128, max_workgroup_memory_bytes = 16384,
1111
max_workgroup_counts = [65535, 65535, 65535]>>

compiler/src/iree/compiler/Codegen/Dialect/GPU/TargetUtils/KnownTargets.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -966,10 +966,10 @@ TargetAttr getWebGPUTargetDetails(MLIRContext *context) {
966966
{0xffff, 0xffff, 0xffff}};
967967
// clang-format on
968968

969-
return createTargetAttr(
970-
{&wgp, nullptr}, /*arch=*/"",
971-
"spirv:v1.0,cap:Shader,ext:SPV_KHR_storage_buffer_storage_class",
972-
context);
969+
return createTargetAttr({&wgp, nullptr}, /*arch=*/"",
970+
"spirv:v1.0,cap:Shader,ext:SPV_KHR_storage_buffer_"
971+
"storage_class,ext:SPV_KHR_non_semantic_info",
972+
context);
973973
}
974974

975975
TargetAttr getFullTarget(StringRef targetAPI, StringRef aliasTarget,

third_party/llvm-project

Submodule llvm-project updated 547 files

0 commit comments

Comments
 (0)