Skip to content

[QST] deserializeStream() will acquire gpu semaphore,but why serializeStream() do not release the gpu semaphore explicitly ? #5386

Answered by revans2
JustPlay asked this question in General
Discussion options

You must be logged in to vote

That is because it is already released.

GpuSemaphore.releaseIfNecessary(TaskContext.get())

We should document it better and if you want to turn this into a documentation bug I would be happy to fix it. The shuffle code went through a number of iterations to get it to be performant. Sadly there is a lot of coupling between the serializer and the shuffle code and we need to document it better.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sameerz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #846 on April 28, 2022 23:13.