Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Aug 27, 2024
1 parent 87b5cfe commit 329e3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ int main(int argc, char *argv[]) {
char gpuName[256];

// Retrieve the GPU name
NVML_CALL(nvmlDeviceGetName(nvmlDevices[i], &gpuName, sizeof(gpuName)), errored);
NVML_CALL(nvmlDeviceGetName(nvmlDevices[i], gpuName, sizeof(gpuName)), errored);

// Print the managed GPU details
printf("%u. %s (GPU id = %u)\n", managedGPUs, gpuName, i);
Expand Down

0 comments on commit 329e3f8

Please sign in to comment.