示例#1
0
 /// <summary>
 /// Use the Nvidia CUDA 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()
 {
     LinearAlgebraProvider = new Providers.LinearAlgebra.Cuda.CudaLinearAlgebraProvider();
 }
示例#2
0
 /// <summary>
 /// Use the Nvidia CUDA 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()
 {
     LinearAlgebraProvider = new Providers.LinearAlgebra.Cuda.CudaLinearAlgebraProvider();
 }