コード例 #1
0
ファイル: CsrQrInfo.cs プロジェクト: lvaleriu/managedCuda
		/// <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);
		}
コード例 #2
0
ファイル: CsrQrInfo.cs プロジェクト: SciSharp/TensorSharp
 /// <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);
     }
 }
コード例 #3
0
			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);
コード例 #4
0
			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);
コード例 #5
0
			public static extern cusolverStatus cusolverSpXcsrqrAnalysisBatched(cusolverSpHandle handle, int m, int n, int nnzA, cusparseMatDescr descrA, CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA, csrqrInfo info);
コード例 #6
0
			public static extern cusolverStatus cusolverSpDestroyCsrqrInfo(csrqrInfo info);
コード例 #7
0
			public static extern cusolverStatus cusolverSpCreateCsrqrInfo(ref csrqrInfo info);