/// <summary>
        /// Frees memory buffers, caches and handles allocated in or to the provider.
        /// Does not unload the provider itself, it is still usable afterwards.
        /// </summary>
        public virtual void FreeResources()
        {
            Kernel kernel = Interlocked.Exchange(ref _kernel, null);
            if (kernel != null)
            {
                SafeNativeMethods.x_fft_free(ref kernel.Handle);
            }

            MklProvider.FreeResources();
        }
Example #2
0
 /// <summary>
 /// Frees memory buffers, caches and handles allocated in or to the provider.
 /// Does not unload the provider itself, it is still usable afterwards.
 /// </summary>
 public void FreeResources()
 {
     MklProvider.FreeResources();
 }
Example #3
0
 /// <summary>
 /// Frees memory buffers, caches and handles allocated in or to the provider.
 /// Does not unload the provider itself, it is still usable afterwards.
 /// </summary>
 public override void FreeResources()
 {
     MklProvider.FreeResources();
 }