Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Aug 27, 2024
1 parent afd3788 commit ab0f25a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ int main(int argc, char *argv[]) {
gpuState * state = &gpuStates[id];

// Mark the GPU as managed
gpuState->managed = true;
state->managed = true;
}
} else {
// Iterate through each GPU
Expand All @@ -282,7 +282,7 @@ int main(int argc, char *argv[]) {
gpuState * state = &gpuStates[i];

// Mark the GPU as managed
gpuState->managed = true;
state->managed = true;
}
}

Expand All @@ -295,7 +295,7 @@ int main(int argc, char *argv[]) {
gpuState * state = &gpuStates[i];

// If GPU is managed
if (gpuState->managed) {
if (state->managed) {
// Update flag
hasManagedGpus = true;
}
Expand Down

0 comments on commit ab0f25a

Please sign in to comment.