本文整理汇总了C#中Cudafy.Maths.SPARSE.cusparseHandle类的典型用法代码示例。如果您正苦于以下问题:C# cusparseHandle类的具体用法?C# cusparseHandle怎么用?C# cusparseHandle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
cusparseHandle类属于Cudafy.Maths.SPARSE命名空间,在下文中一共展示了cusparseHandle类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: cusparseDcsrmm_v2
private static extern CUSPARSEStatus cusparseDcsrmm_v2(cusparseHandle handle, cusparseOperation transA, int m, int n, int k, int nnz, ref double alpha, cusparseMatDescr descrA, IntPtr csrValA, IntPtr csrRowPtrA, IntPtr csrColIndA, IntPtr B, int ldb, ref double beta, IntPtr C, int ldc);
示例2: cusparseDnnz
private static extern CUSPARSEStatus cusparseDnnz(cusparseHandle handle, cusparseDirection dirA, int m, int n, cusparseMatDescr descrA, IntPtr A, int lda, IntPtr nnzperVector, ref int nnzHostPtr);
示例3: cusparseDcsr2dense
private static extern CUSPARSEStatus cusparseDcsr2dense(cusparseHandle handle, int m, int n, cusparseMatDescr descrA, IntPtr csrValA, IntPtr csrRowPtrA, IntPtr csrColIndA, IntPtr A, int lda);
示例4: CusparseDcsrmv
public CUSPARSEStatus CusparseDcsrmv(cusparseHandle handle, cusparseOperation transA, int m, int n, int nnz, ref double alpha, cusparseMatDescr descrA, IntPtr csrValA, IntPtr csrRowPtrA, IntPtr csrColIndA, IntPtr x, ref double beta, IntPtr y)
{
return cusparseDcsrmv_v2(handle, transA, m, n, nnz, ref alpha, descrA, csrValA, csrRowPtrA, csrColIndA, x, ref beta, y);
}
示例5: CusparseDcsrsv_solve
public CUSPARSEStatus CusparseDcsrsv_solve(cusparseHandle handle, cusparseOperation transA, int m, ref double alpha, cusparseMatDescr descrA, IntPtr csrValA, IntPtr csrRowPtrA, IntPtr csrColIndA, cusparseSolveAnalysisInfo info, IntPtr x, IntPtr y)
{
return cusparseDcsrsv_solve_v2(handle, transA, m, ref alpha, descrA, csrValA, csrRowPtrA, csrColIndA, info, x, y);
}
示例6: CusparseDdoti
public CUSPARSEStatus CusparseDdoti(cusparseHandle handle, int nnz, IntPtr xVal, IntPtr xInd, IntPtr y, ref double resultHost, cusparseIndexBase idxBase)
{
return cusparseDdoti(handle, nnz, xVal, xInd, y, ref resultHost, idxBase);
}
示例7: CusparseDroti
public CUSPARSEStatus CusparseDroti(cusparseHandle handle, int nnz, IntPtr xVal, IntPtr xInd, IntPtr y, ref double c, ref double s, cusparseIndexBase idxBase)
{
return cusparseDroti_v2(handle, nnz, xVal, xInd, y, ref c, ref s, idxBase);
}
示例8: cusparseDestroy
private static extern CUSPARSEStatus cusparseDestroy(cusparseHandle handle);
示例9: cusparseGetVersion
private static extern CUSPARSEStatus cusparseGetVersion(cusparseHandle handle, ref int version);
示例10: CusparseGetVersion
public CUSPARSEStatus CusparseGetVersion(cusparseHandle handle, ref int version)
{
return cusparseGetVersion(handle, ref version);
}
示例11: CusparseSetStream
public CUSPARSEStatus CusparseSetStream(cusparseHandle handle, GASS.CUDA.cudaStream streamId)
{
return cusparseSetStream(handle, streamId);
}
示例12: CusparseDestroy
public CUSPARSEStatus CusparseDestroy(cusparseHandle handle)
{
return cusparseDestroy(handle);
}
示例13: cusparseCreate
private static extern CUSPARSEStatus cusparseCreate(ref cusparseHandle handle);
示例14: CusparseCreate
public CUSPARSEStatus CusparseCreate(ref cusparseHandle handle)
{
return cusparseCreate(ref handle);
}
示例15: CusparseXcsr2coo
public CUSPARSEStatus CusparseXcsr2coo(cusparseHandle handle, IntPtr csrRowPtr, int nnz, int m, IntPtr cooRowInd, cusparseIndexBase idxBase)
{
return cusparseXcsr2coo(handle, csrRowPtr, nnz, m, cooRowInd, idxBase);
}