예제 #1
0
 /// <summary>
 /// Try to use the OpenBLAS native provider for linear algebra.
 /// </summary>
 /// <returns>
 /// True if the provider was found and initialized successfully.
 /// False if it failed and the previous provider is still active.
 /// </returns>
 public static bool TryUseNativeCUDA() => CudaLinearAlgebraControl.TryUseNativeCUDA();
예제 #2
0
 /// <summary>
 /// Use the OpenBLAS native provider for linear algebra.
 /// Throws if it is not available or failed to initialize, in which case the previous provider is still active.
 /// </summary>
 public static void UseNativeCUDA() => CudaLinearAlgebraControl.UseNativeCUDA();