Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 4f28d76

Browse files
Allan MacKinnonSkia Commit-Bot
authored andcommitted
Cut-and-paste typo was limiting concurrency
NOTREECHECKS=true NOTRY=true NOPRESUBMIT=true Bug: skia: Change-Id: I94065a2c0fdd536016060f906aead0bfb4e1e27b Reviewed-on: https://skia-review.googlesource.com/149245 Reviewed-by: Allan MacKinnon <allanmac@google.com> Commit-Queue: Allan MacKinnon <allanmac@google.com> Auto-Submit: Allan MacKinnon <allanmac@google.com>
1 parent 49894f4 commit 4f28d76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compute/hs/cuda/hs_cuda.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,13 +472,13 @@ hs_state_acquire(struct hs_state * const state,
472472
*indices |= 1;
473473
return 0;
474474
}
475-
else if (*indices & 2)
475+
else if (state->pool & 2)
476476
{
477477
state->pool &= ~2;
478478
*indices |= 2;
479479
return 1;
480480
}
481-
else // if (*indices & 4)
481+
else // (state->pool & 4)
482482
{
483483
state->pool &= ~4;
484484
*indices |= 4;

0 commit comments

Comments
 (0)