Discussion:
[PyCUDA] SCHED_BLOCKING_SYNC query
Junyi
2014-06-27 19:43:23 UTC
Permalink
For the duration of the kernel call, the cpu busy-waits by default. I
changed the make_context() portion to include the SCHED_BLOCKING_SYNC flag,
but the kernel call just hangs. How should I trigger the release? Thanks!

Jimmy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20140628/c0b12485/attachment.html>
Andreas Kloeckner
2014-06-30 19:47:01 UTC
Permalink
Dear Junyi,
Post by Junyi
For the duration of the kernel call, the cpu busy-waits by default. I
changed the make_context() portion to include the SCHED_BLOCKING_SYNC flag,
but the kernel call just hangs. How should I trigger the release? Thanks!
Can you please supply a) a reproducing snippet of code (ideally short)
and b) some information about your system (GPU, OS, CUDA, Python
versions)?

Thanks!
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20140630/fcb478c8/attachment.sig>
Loading...