You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above code, when 'plan' is Disposed, Context is also destroyed.
Therefore, when outputBuffer is Disposing, 'context is destroyed' exception is thrown.
This looks like an issue with the CUDA SDK. Notice the call to WorkaroundKnownIssue. The sample code limits the workaround to specific versions of the CUDA SDK. The workaround will restore the original CUDA context. If you force the workaround to always run, it should fix your issue.
I am using your masterpiece very well.
If I had the ability, I would be able to help with anything, but in reality, I only write issue like this.
ILGPU's CuFFT example code is as follows:
(\Samples\AlgorithmsCuFFT\Program.cs)
In the above code, when 'plan' is Disposed, Context is also destroyed.
Therefore, when outputBuffer is Disposing, 'context is destroyed' exception is thrown.
The issue essentially looks like this.
inducer/pycuda#356
I hope you will consider this issue seriously. please.
ps) BTW, the new features in CUDA v12 are interesting.
CUDA Context-Independent Module Loading
The text was updated successfully, but these errors were encountered: