public void DestroyContext(CUcontext ctx) { if (_version >= 4000) { this.LastError = CUDADriver.cuCtxDestroy_v2(ctx); } else { this.LastError = CUDADriver.cuCtxDestroy(ctx); } }
public void DestroyContext() { if (_version >= 4000) { this.LastError = CUDADriver.cuCtxDestroy_v2(this.CurrentContext); } else { this.LastError = CUDADriver.cuCtxDestroy(this.CurrentContext); } }