diff options
author | Stan Seibert <stan@mtrr.org> | 2013-01-31 16:13:58 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:39 -0700 |
commit | e46056a80857860a923d6577741a1de987bd804f (patch) | |
tree | 851f18fb1ba531026943e49b0827eabed9bbfc0b /chroma/gpu/tools.py | |
parent | f91c0174046bffa95c7d42ea945c47ced48ed892 (diff) | |
download | chroma-e46056a80857860a923d6577741a1de987bd804f.tar.gz chroma-e46056a80857860a923d6577741a1de987bd804f.tar.bz2 chroma-e46056a80857860a923d6577741a1de987bd804f.zip |
Do not automatically initialize pycuda before forking the camera process.
This causes weird segfaults on Macs, and is probably a source of
random crashing on other processes. Also call pygame.init()
explicitly in the new process for good measure.
Diffstat (limited to 'chroma/gpu/tools.py')
-rw-r--r-- | chroma/gpu/tools.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chroma/gpu/tools.py b/chroma/gpu/tools.py index 98c7e6a..8bf5d81 100644 --- a/chroma/gpu/tools.py +++ b/chroma/gpu/tools.py @@ -8,8 +8,6 @@ from pycuda import gpuarray as ga from chroma.cuda import srcdir -cuda.init() - # standard nvcc options cuda_options = ('--use_fast_math',)#, '--ptxas-options=-v'] |