[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in DialectNVGPU.cpp (NFC)
This commit is contained in:
parent
37d57b3c57
commit
fe7fb3e2bd
@ -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));
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user