/// <summary> /// </summary> public CudaSparseCsrsv2Info() { _info = new csrsv2Info(); res = CudaSparseNativeMethods.cusparseCreateCsrsv2Info(ref _info); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusparseCreateCsrsv2Info", res)); if (res != cusparseStatus.Success) throw new CudaSparseException(res); }
/// <summary> /// </summary> public CudaSparseCsrsv2Info() { _info = new csrsv2Info(); res = CudaSparseNativeMethods.cusparseCreateCsrsv2Info(ref _info); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusparseCreateCsrsv2Info", res)); if (res != cusparseStatus.Success) { throw new CudaSparseException(res); } }
public static extern cusparseStatus cusparseZcsrsv2_analysis(cusparseContext handle, cusparseOperation transA, int m, int nnz, cusparseMatDescr descrA, CUdeviceptr csrValA, CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA, csrsv2Info info, cusparseSolvePolicy policy, CUdeviceptr pBuffer);
public static extern cusparseStatus cusparseZcsrsv2_bufferSizeExt(cusparseContext handle, cusparseOperation transA, int m, int nnz, cusparseMatDescr descrA, CUdeviceptr csrValA, CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA, csrsv2Info info, ref SizeT pBufferSize);
public static extern cusparseStatus cusparseDestroyCsrsv2Info(csrsv2Info info);
public static extern cusparseStatus cusparseCreateCsrsv2Info(ref csrsv2Info info);
public static extern cusparseStatus cusparseCcsrsv2_solve(cusparseContext handle, cusparseOperation transA, int m, int nnz, CUdeviceptr alpha, cusparseMatDescr descra, CUdeviceptr csrValA, CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA, csrsv2Info info, CUdeviceptr x, CUdeviceptr y, cusparseSolvePolicy policy, CUdeviceptr pBuffer);
public static extern cusparseStatus cusparseXcsrsv2_zeroPivot(cusparseContext handle, csrsv2Info info, CUdeviceptr position);