Removed Hardcoded SM Number from Mlir Test (#186917)

This MR removes a hard-coded compute number in an MLIR test. This will
allow the test to not need to be updated in the future. The default
value will come from `NVVMOps.td`.
This commit is contained in:
Stefan Mada 2026-03-17 11:12:52 -07:00 committed by GitHub
parent b5614bc21c
commit 0769dde7a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@
module attributes {gpu.container_module} {
// CHECK-LABEL: gpu.binary @kernel_module
// CHECK: properties = {{{.*}}ISACompilerLog = {{.*}}
gpu.module @kernel_module [#nvvm.target<chip = "sm_70", flags = {"collect-compiler-diagnostics"}>] {
gpu.module @kernel_module [#nvvm.target<flags = {"collect-compiler-diagnostics"}>] {
llvm.func @kernel(%arg0: i32, %arg1: !llvm.ptr,
%arg2: !llvm.ptr, %arg3: i64, %arg4: i64,
%arg5: i64) attributes {gpu.kernel} {