/// <summary> /// </summary> public CudaSparseCsric02Info() { _info = new csric02Info(); res = CudaSparseNativeMethods.cusparseCreateCsric02Info(ref _info); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusparseCreateCsric02Info", res)); if (res != cusparseStatus.Success) throw new CudaSparseException(res); }
/// <summary> /// </summary> public CudaSparseCsric02Info() { _info = new csric02Info(); res = CudaSparseNativeMethods.cusparseCreateCsric02Info(ref _info); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusparseCreateCsric02Info", res)); if (res != cusparseStatus.Success) { throw new CudaSparseException(res); } }
public static extern cusparseStatus cusparseZcsric02(cusparseContext handle, int m, int nnz, cusparseMatDescr descrA, CUdeviceptr csrValA_valM, /* matrix A values are updated inplace to be the preconditioner M values */ CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA, csric02Info info, cusparseSolvePolicy policy, CUdeviceptr pBuffer);
public static extern cusparseStatus cusparseZcsric02_analysis(cusparseContext handle, int m, int nnz, cusparseMatDescr descrA, CUdeviceptr csrValA, CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA, csric02Info info, cusparseSolvePolicy policy, CUdeviceptr pBuffer);
public static extern cusparseStatus cusparseZcsric02_bufferSizeExt(cusparseContext handle, int m, int nnz, cusparseMatDescr descrA, CUdeviceptr csrValA, CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA, csric02Info info, ref SizeT pBufferSize);
public static extern cusparseStatus cusparseXcsric02_zeroPivot(cusparseContext handle, csric02Info info, CUdeviceptr position);
public static extern cusparseStatus cusparseDestroyCsric02Info(csric02Info info);
public static extern cusparseStatus cusparseCreateCsric02Info(ref csric02Info info);