public void PushCurrentContext(CUcontext ctx) { if (_version >= 4000) { this.LastError = CUDADriver.cuCtxPushCurrent_v2(ctx); } else { this.LastError = CUDADriver.cuCtxPushCurrent(ctx); } }