Skip to content

Commit 7c30a61

Browse files
authored
GPU Benchmark: Remove unused variable to fix compiler warning
1 parent a657810 commit 7c30a61

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

GPU/GPUbenchmark/cuda/Kernels.cu

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ void printDeviceProp(int32_t deviceId)
304304
int32_t clockRateKHz = 0;
305305
int32_t memoryClockRateKHz = 0;
306306
int32_t computeMode = 0;
307-
int32_t cooperativeMultiDevice = 0;
308307

309308
#if (CUDART_VERSION >= 13000)
310309
GPUCHECK(cudaDeviceGetAttribute(&clockRateKHz, cudaDevAttrClockRate, deviceId));
@@ -314,7 +313,6 @@ void printDeviceProp(int32_t deviceId)
314313
clockRateKHz = props.clockRate;
315314
memoryClockRateKHz = props.memoryClockRate;
316315
computeMode = props.computeMode;
317-
cooperativeMultiDevice = props.cooperativeMultiDeviceLaunch;
318316
#endif
319317
std::cout << std::setw(w1) << "Name: " << props.name << std::endl;
320318
std::cout << std::setw(w1) << "pciBusID: " << props.pciBusID << std::endl;

0 commit comments

Comments
 (0)