public void Close() { try { foreach (ATIGPU gpu in hardware) { gpu.Close(); } ADL.ADL_Main_Control_Destroy(); } catch (Exception) { } }
public void Close() { try { foreach (ATIGPU gpu in hardware) { gpu.Close(); } if (context != IntPtr.Zero) { ADL.ADL2_Main_Control_Destroy(context); context = IntPtr.Zero; } ADL.ADL_Main_Control_Destroy(); } catch (Exception) { } }
public void Close() { try { ADL.ADL_Main_Control_Destroy(); } catch (Exception) { } }