Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Deprecate/remove CU_COMPUTEMODE_EXCLUSIVE as of CUDA 8 (?)
  • Loading branch information
inducer committed May 4, 2016
1 parent 8da3019 commit 9cf72a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/source/driver.rst
Expand Up @@ -463,7 +463,6 @@ Constants
CUDA 2.2 and newer.

.. attribute:: DEFAULT
.. attribute:: EXCLUSIVE
.. attribute:: PROHIBITED
.. attribute:: EXCLUSIVE_PROCESS

Expand Down
2 changes: 2 additions & 0 deletions src/wrapper/wrap_cudadrv.cpp
Expand Up @@ -821,7 +821,9 @@ BOOST_PYTHON_MODULE(_driver)
#if CUDAPP_CUDA_VERSION >= 2020
py::enum_<CUcomputemode>("compute_mode")
.value("DEFAULT", CU_COMPUTEMODE_DEFAULT)
#if CUDAPP_CUDA_VERSION < 8000
.value("EXCLUSIVE", CU_COMPUTEMODE_EXCLUSIVE)
#endif
.value("PROHIBITED", CU_COMPUTEMODE_PROHIBITED)
#if CUDAPP_CUDA_VERSION >= 4000
.value("EXCLUSIVE_PROCESS", CU_COMPUTEMODE_EXCLUSIVE_PROCESS)
Expand Down

0 comments on commit 9cf72a3

Please sign in to comment.