/// <summary> /// </summary> public CudaSparseHybMat() { _hyb = new cusparseHybMat(); res = CudaSparseNativeMethods.cusparseCreateHybMat(ref _hyb); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusparseCreateHybMat", res)); if (res != cusparseStatus.Success) throw new CudaSparseException(res); }
/// <summary> /// </summary> public CudaSparseHybMat() { _hyb = new cusparseHybMat(); res = CudaSparseNativeMethods.cusparseCreateHybMat(ref _hyb); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusparseCreateHybMat", res)); if (res != cusparseStatus.Success) { throw new CudaSparseException(res); } }
public static extern cusparseStatus cusparseZhybmv(cusparseContext handle, cusparseOperation transA, CUdeviceptr alpha, cusparseMatDescr descrA, cusparseHybMat hybA, CUdeviceptr x, CUdeviceptr beta, CUdeviceptr y);
public static extern cusparseStatus cusparseChybmv(cusparseContext handle, cusparseOperation transA, ref cuFloatComplex alpha, cusparseMatDescr descrA, cusparseHybMat hybA, CUdeviceptr x, ref cuFloatComplex beta, CUdeviceptr y);
public static extern cusparseStatus cusparseZhyb2csc(cusparseContext handle, cusparseMatDescr descrA, cusparseHybMat hybA, CUdeviceptr cscVal, CUdeviceptr cscRowInd, CUdeviceptr cscColPtr);
public static extern cusparseStatus cusparseZcsc2hyb(cusparseContext handle, int m, int n, cusparseMatDescr descrA, CUdeviceptr cscValA, CUdeviceptr cscRowIndA, CUdeviceptr cscColPtrA, cusparseHybMat hybA, int userEllWidth, cusparseHybPartition partitionType);
public static extern cusparseStatus cusparseZhyb2csr(cusparseContext handle, cusparseMatDescr descrA, cusparseHybMat hybA, CUdeviceptr csrValA, CUdeviceptr csrRowPtrA, CUdeviceptr csrColIndA);
public static extern cusparseStatus cusparseZhyb2dense(cusparseContext handle, cusparseMatDescr descrA, cusparseHybMat hybA, CUdeviceptr A, int lda);
public static extern cusparseStatus cusparseZdense2hyb(cusparseContext handle, int m, int n, cusparseMatDescr descrA, CUdeviceptr A, int lda, CUdeviceptr nnzPerRow, cusparseHybMat hybA, int userEllWidth, cusparseHybPartition partitionType);
public static extern cusparseStatus cusparseDestroyHybMat(cusparseHybMat hybA);
public static extern cusparseStatus cusparseCreateHybMat(ref cusparseHybMat hybA);
public static extern cusparseStatus cusparseZhybsv_solve(cusparseContext handle, cusparseOperation trans, CUdeviceptr alpha, cusparseMatDescr descra, cusparseHybMat hybA, cusparseSolveAnalysisInfo info, CUdeviceptr x, CUdeviceptr y);
public static extern cusparseStatus cusparseZhybsv_analysis(cusparseContext handle, cusparseOperation transA, cusparseMatDescr descrA, cusparseHybMat hybA, cusparseSolveAnalysisInfo info);