Latest commit e03e9f7 Jan 13, 2017 Lurch Changed demo_cdpSimplePrint.py to use DynamicSourceModule.
Using Context.set_limit() now.
Needed a missing limit enum CU_LIMIT_DEV_RUNTIME_SYNC_DEPTH (in CUDA8/v8.0/include/cuda.h[975], available since 3.5), added CU_LIMIT_DEV_RUNTIME_SYNC_DEPTH and CU_LIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT (same) to pycuda.driver.limit.