SWDEV-542815 - Fix unused-parameter compiler warning (#263)

* SWDEV-542815 - Fix unused-parameter compiler warning

* SWDEV-542815 - Run clang-format

[ROCm/hip commit: f94cc3711e]
Tento commit je obsažen v:
Arandjelovic, Marko
2025-08-15 21:41:35 +02:00
odevzdal GitHub
rodič f9dba251b7
revize a2409bebd0
+3 -1
Zobrazit soubor
@@ -9354,7 +9354,9 @@ static hipError_t __host__ inline hipOccupancyMaxPotentialBlockSize(int* gridSiz
template <typename T>
static hipError_t __host__ inline hipOccupancyMaxPotentialBlockSizeWithFlags(int* gridSize, int* blockSize,
T f, size_t dynSharedMemPerBlk = 0, int blockSizeLimit = 0, unsigned int flags = 0 ) {
return hipOccupancyMaxPotentialBlockSize(gridSize, blockSize, reinterpret_cast<const void*>(f),dynSharedMemPerBlk,blockSizeLimit);
(void)flags;
return hipOccupancyMaxPotentialBlockSize(gridSize, blockSize, reinterpret_cast<const void*>(f),
dynSharedMemPerBlk, blockSizeLimit);
}
#endif // defined(__clang__) && defined(__HIP__)