Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add property [IsDisposed] for CudaContext & CudaRuntimeCompiler #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dinggeonly
Copy link

Add property [IsDisposed] for CudaContext & CudaRuntimeCompiler,
to make it is possible to know whether the object is disposed.

@kunzmi
Copy link
Owner

kunzmi commented Jun 5, 2021

Hi, sorry for the late answer. Do you know if this property is common for the IDisposible interface? Should we add it to all IDisposible classes?

Cheers,
Michael

@dinggeonly
Copy link
Author

@kunzmi
Q:Should we add it to all IDisposible classes?
A:In my opinion,it's unnecessary to change other calsses,unless we need to know the status of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants