Beispiel #1
0
		/// <summary>
		/// </summary>
		public CsrQrInfo()
		{
			_info = new csrqrInfo();
			res = CudaSolveNativeMethods.Sparse.cusolverSpCreateCsrqrInfo(ref _info);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusolverSpCreateCsrqrInfo", res));
			if (res != cusolverStatus.Success)
				throw new CudaSolveException(res);
		}
Beispiel #2
0
 /// <summary>
 /// </summary>
 public CsrQrInfo()
 {
     _info = new csrqrInfo();
     res   = CudaSolveNativeMethods.Sparse.cusolverSpCreateCsrqrInfo(ref _info);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusolverSpCreateCsrqrInfo", res));
     if (res != cusolverStatus.Success)
     {
         throw new CudaSolveException(res);
     }
 }
			public static extern cusolverStatus cusolverSpZcsrqrsvBatched(cusolverSpHandle handle, int m, int n, int nnz, cusparseMatDescr descrA, CUdeviceptr csrValA, CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA, CUdeviceptr b, CUdeviceptr x, int batchSize, csrqrInfo info, CUdeviceptr pBuffer);
			public static extern cusolverStatus cusolverSpZcsrqrBufferInfoBatched(cusolverSpHandle handle, int m, int n, int nnz, cusparseMatDescr descrA, CUdeviceptr csrVal, CUdeviceptr csrRowPtr, CUdeviceptr csrColInd, int batchSize, csrqrInfo info, ref SizeT internalDataInBytes, ref SizeT workspaceInBytes);
			public static extern cusolverStatus cusolverSpXcsrqrAnalysisBatched(cusolverSpHandle handle, int m, int n, int nnzA, cusparseMatDescr descrA, CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA, csrqrInfo info);
			public static extern cusolverStatus cusolverSpDestroyCsrqrInfo(csrqrInfo info);
			public static extern cusolverStatus cusolverSpCreateCsrqrInfo(ref csrqrInfo info);