lisa-lab/pylearn2 — pull request #928 by dwf (2014-05-23 20:38:45+00:00)
Title: ENH: Release GIL in cuda-convnet wrapping ops.

Use `CNDA_BEGIN_ALLOW_THREADS` and `CNDA_END_ALLOW_THREADS` so that it respects `nvcc_flags=-DRELEASE_GIL=0` if you really, really want to turn it off for some reason.

Attn: @nouiz, @goodfeli