本文整理汇总了C#中Cudafy.Maths.SPARSE.cusparseHandle类的典型用法代码示例。如果您正苦于以下问题:C# cusparseHandle类的具体用法?C# cusparseHandle怎么用?C# cusparseHandle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
cusparseHandle类属于Cudafy.Maths.SPARSE命名空间,在下文中一共展示了cusparseHandle类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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);
开发者ID:JustasB,项目名称:cudafy,代码行数:1,代码来源:CUSPARSEDriver.cs
示例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);
开发者ID:JustasB,项目名称:cudafy,代码行数:1,代码来源:CUSPARSEDriver.cs
示例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);
开发者ID:JustasB,项目名称:cudafy,代码行数:1,代码来源:CUSPARSEDriver.cs
示例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);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例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);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例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);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例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);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例8: cusparseDestroy
private static extern CUSPARSEStatus cusparseDestroy(cusparseHandle handle);
开发者ID:JustasB,项目名称:cudafy,代码行数:1,代码来源:CUSPARSEDriver.cs
示例9: cusparseGetVersion
private static extern CUSPARSEStatus cusparseGetVersion(cusparseHandle handle, ref int version);
开发者ID:JustasB,项目名称:cudafy,代码行数:1,代码来源:CUSPARSEDriver.cs
示例10: CusparseGetVersion
public CUSPARSEStatus CusparseGetVersion(cusparseHandle handle, ref int version)
{
return cusparseGetVersion(handle, ref version);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例11: CusparseSetStream
public CUSPARSEStatus CusparseSetStream(cusparseHandle handle, GASS.CUDA.cudaStream streamId)
{
return cusparseSetStream(handle, streamId);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例12: CusparseDestroy
public CUSPARSEStatus CusparseDestroy(cusparseHandle handle)
{
return cusparseDestroy(handle);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例13: cusparseCreate
private static extern CUSPARSEStatus cusparseCreate(ref cusparseHandle handle);
开发者ID:JustasB,项目名称:cudafy,代码行数:1,代码来源:CUSPARSEDriver.cs
示例14: CusparseCreate
public CUSPARSEStatus CusparseCreate(ref cusparseHandle handle)
{
return cusparseCreate(ref handle);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例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);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例16: CusparseDnnz
public CUSPARSEStatus CusparseDnnz(cusparseHandle handle, cusparseDirection dirA, int m, int n, cusparseMatDescr descrA, IntPtr A, int lda, IntPtr nnzPerVector, ref int nnzHostPtr)
{
return cusparseDnnz(handle, dirA, m, n, descrA, A, lda, nnzPerVector, ref nnzHostPtr);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例17: CusparseDaxpyi
public CUSPARSEStatus CusparseDaxpyi(cusparseHandle handle, int nnz, ref double alpha, IntPtr xVal, IntPtr xInd, IntPtr y, cusparseIndexBase idxBase)
{
return cusparseDaxpyi_v2(handle, nnz, ref alpha, xVal, xInd, y, idxBase);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例18: cusparseSetStream
private static extern CUSPARSEStatus cusparseSetStream(cusparseHandle handle, cudaStream streamId);
开发者ID:JustasB,项目名称:cudafy,代码行数:1,代码来源:CUSPARSEDriver.cs
示例19: CusparseDgthrz
public CUSPARSEStatus CusparseDgthrz(cusparseHandle handle, int nnz, IntPtr y, IntPtr xVal, IntPtr xInd, cusparseIndexBase ibase)
{
return cusparseDgthrz(handle, nnz, y, xVal, xInd, ibase);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
示例20: CusparseDdense2csr
public CUSPARSEStatus CusparseDdense2csr(cusparseHandle handle, int m, int n, cusparseMatDescr descrA, IntPtr A, int lda, IntPtr nnzPerRow, IntPtr csrValA, IntPtr csrRowPtrA, IntPtr csrColIndA)
{
return cusparseDdense2csr(handle, m, n, descrA, A, lda, nnzPerRow, csrValA, csrRowPtrA, csrColIndA);
}
开发者ID:JustasB,项目名称:cudafy,代码行数:4,代码来源:CUSPARSEDriver.cs
注:本文中的Cudafy.Maths.SPARSE.cusparseHandle类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论