Re: [PyCUDA] CUDA driver compute mode

2017-02-24 Thread Andreas Kloeckner
Kambiz Tavabi writes: > Following TB from test_driver.py with 2016.1.2 build on OS X 10.11 with > CUDA 8 V8.0.61; was able to workaround by changing > > if drv.Context.get_device().compute_mode == drv.compute_mode.*EXCLUSIVE*: > > to > > if drv.Context.get_device().compute_mode

[PyCUDA] CUDA driver compute mode

2017-02-24 Thread Kambiz Tavabi
Following TB from test_driver.py with 2016.1.2 build on OS X 10.11 with CUDA 8 V8.0.61; was able to workaround by changing if drv.Context.get_device().compute_mode == drv.compute_mode.*EXCLUSIVE*: to if drv.Context.get_device().compute_mode == drv.compute_mode. *EXCLUSIVE_PROCESS*: in