[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in DialectNVGPU.cpp (NFC)

This commit is contained in:
Mehdi Amini 2025-08-21 04:43:13 -07:00
parent 37d57b3c57
commit fe7fb3e2bd

View File

@ -23,8 +23,8 @@ static void populateDialectNVGPUSubmodule(const nb::module_ &m) {
nvgpuTensorMapDescriptorType.def_classmethod(
"get",
[](nb::object cls, MlirType tensorMemrefType, int swizzle, int l2promo,
int oobFill, int interleave, MlirContext ctx) {
[](const nb::object &cls, MlirType tensorMemrefType, int swizzle,
int l2promo, int oobFill, int interleave, MlirContext ctx) {
return cls(mlirNVGPUTensorMapDescriptorTypeGet(
ctx, tensorMemrefType, swizzle, l2promo, oobFill, interleave));
},