Hi Nicholas, On Freitag 15 Mai 2009, you wrote: > I think the "CU_DEVICE_ATTRIBUTE_COMPUTE_MODE" is new in 2.2 so it > shouldn't be blindly included (also CU_COMPUTEMODE_DEFAULT, > CU_COMPUTEMODE_EXCLUSIVE, CU_COMPUTEMODE_PROHIBITED).
I don't think they are--these here are the only hits for "git grep
CU_COMPUTEMODE":
#if CUDA_VERSION >= 2020
py::enum_<CUcomputemode>("compute_mode")
.value("DEFAULT", CU_COMPUTEMODE_DEFAULT)
.value("EXCLUSIVE", CU_COMPUTEMODE_EXCLUSIVE)
.value("PROHIBITED", CU_COMPUTEMODE_PROHIBITED)
;
#endif
Also, please go through the list.
Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
