Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit 9d4a52c

Browse files
committed
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in DialectNVGPU.cpp (NFC)
1 parent de2032b commit 9d4a52c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mlir/lib/Bindings/Python/DialectNVGPU.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ static void populateDialectNVGPUSubmodule(const nb::module_ &m) {
2323

2424
nvgpuTensorMapDescriptorType.def_classmethod(
2525
"get",
26-
[](nb::object cls, MlirType tensorMemrefType, int swizzle, int l2promo,
27-
int oobFill, int interleave, MlirContext ctx) {
26+
[](const nb::object &cls, MlirType tensorMemrefType, int swizzle,
27+
int l2promo, int oobFill, int interleave, MlirContext ctx) {
2828
return cls(mlirNVGPUTensorMapDescriptorTypeGet(
2929
ctx, tensorMemrefType, swizzle, l2promo, oobFill, interleave));
3030
},

0 commit comments

Comments
 (0)