本文整理汇总了C#中ManagedCuda.CudaBlas.CudaBlasHandle类的典型用法代码示例。如果您正苦于以下问题:C# CudaBlasHandle类的具体用法?C# CudaBlasHandle怎么用?C# CudaBlasHandle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CudaBlasHandle类属于ManagedCuda.CudaBlas命名空间,在下文中一共展示了CudaBlasHandle类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: cublasCaxpy_v2
public static extern CublasStatus cublasCaxpy_v2(CudaBlasHandle handle,
int n,
[In] ref cuFloatComplex alpha, // host or device pointer
[In] CUdeviceptr x,
int incx,
CUdeviceptr y,
int incy);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:7,代码来源:CudaBlasNativeMethods.cs
示例2: cublasAxpyEx
public static extern CublasStatus cublasAxpyEx(CudaBlasHandle handle,
int n,
CUdeviceptr alpha, /* host or device pointer */
cudaDataType alphaType,
CUdeviceptr x,
cudaDataType xType,
int incx,
CUdeviceptr y,
cudaDataType yType,
int incy,
cudaDataType executiontype);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:11,代码来源:CudaBlasNativeMethods.cs
示例3: cublasZhpmv_v2
public static extern CublasStatus cublasZhpmv_v2(CudaBlasHandle handle,
FillMode uplo,
int n,
[In] ref cuDoubleComplex alpha, // host or device pointer
[In] CUdeviceptr AP,
[In] CUdeviceptr x,
int incx,
[In] ref cuDoubleComplex beta, // host or device pointer
CUdeviceptr y,
int incy);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:10,代码来源:CudaBlasNativeMethods.cs
示例4: cublasChpr2_v2
public static extern CublasStatus cublasChpr2_v2(CudaBlasHandle handle,
FillMode uplo,
int n,
[In] ref cuFloatComplex alpha, // host or device pointer
[In] CUdeviceptr x,
int incx,
[In] CUdeviceptr y,
int incy,
CUdeviceptr AP);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:9,代码来源:CudaBlasNativeMethods.cs
示例5: cublasCherkEx
public static extern CublasStatus cublasCherkEx(CudaBlasHandle handle,
FillMode uplo,
Operation trans,
int n,
int k,
CUdeviceptr alpha, /* host or device pointer */
CUdeviceptr A,
cudaDataType Atype,
int lda,
CUdeviceptr beta, /* host or device pointer */
CUdeviceptr C,
cudaDataType Ctype,
int ldc);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:13,代码来源:CudaBlasNativeMethods.cs
示例6: cublasCgetrsBatched
public static extern CublasStatus cublasCgetrsBatched( CudaBlasHandle handle,
Operation trans,
int n,
int nrhs,
CUdeviceptr Aarray,
int lda,
CUdeviceptr devIpiv,
CUdeviceptr Barray,
int ldb,
ref int info,
int batchSize);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:11,代码来源:CudaBlasNativeMethods.cs
示例7: cublasChemm_v2
public static extern CublasStatus cublasChemm_v2(CudaBlasHandle handle,
SideMode side,
FillMode uplo,
int m,
int n,
[In] CUdeviceptr alpha, //host or device pointer
[In] CUdeviceptr A,
int lda,
[In] CUdeviceptr B,
int ldb,
[In] CUdeviceptr beta, //host or device pointer
CUdeviceptr C,
int ldc);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:13,代码来源:CudaBlasNativeMethods.cs
示例8: cublasZscal_v2
public static extern CublasStatus cublasZscal_v2(CudaBlasHandle handle,
int n,
[In] CUdeviceptr alpha, // host or device pointer
CUdeviceptr x,
int incx);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:5,代码来源:CudaBlasNativeMethods.cs
示例9: cublasZswap_v2
public static extern CublasStatus cublasZswap_v2(CudaBlasHandle handle,
int n,
CUdeviceptr x,
int incx,
CUdeviceptr y,
int incy);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:6,代码来源:CudaBlasNativeMethods.cs
示例10: cublasZrot_v2
public static extern CublasStatus cublasZrot_v2(CudaBlasHandle handle,
int n,
CUdeviceptr x,
int incx,
CUdeviceptr y,
int incy,
[In] ref double c, // host or device pointer
[In] ref cuDoubleComplex s);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:8,代码来源:CudaBlasNativeMethods.cs
示例11: cublasZrotg_v2
public static extern CublasStatus cublasZrotg_v2(CudaBlasHandle handle,
CUdeviceptr a, // host or device pointer
CUdeviceptr b, // host or device pointer
CUdeviceptr c, // host or device pointer
CUdeviceptr s);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:5,代码来源:CudaBlasNativeMethods.cs
示例12: cublasZmatinvBatched
public static extern CublasStatus cublasZmatinvBatched(CudaBlasHandle handle,
int n,
CUdeviceptr A, /*Device pointer*/
int lda,
CUdeviceptr Ainv, /*Device pointer*/
int lda_inv,
CUdeviceptr INFO, /*Device Pointer*/
int batchSize);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:8,代码来源:CudaBlasNativeMethods.cs
示例13: cublasCgeru_v2
public static extern CublasStatus cublasCgeru_v2(CudaBlasHandle handle,
int m,
int n,
[In] CUdeviceptr alpha, // host or device pointer
[In] CUdeviceptr x,
int incx,
[In] CUdeviceptr y,
int incy,
CUdeviceptr A,
int lda);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:10,代码来源:CudaBlasNativeMethods.cs
示例14: cublasZsyr2k_v2
public static extern CublasStatus cublasZsyr2k_v2(CudaBlasHandle handle,
FillMode uplo,
Operation trans,
int n,
int k,
[In] ref cuDoubleComplex alpha, //host or device pointer
[In] CUdeviceptr A,
int lda,
[In] CUdeviceptr B,
int ldb,
[In] ref cuDoubleComplex beta, //host or device pointer
CUdeviceptr C,
int ldc);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:13,代码来源:CudaBlasNativeMethods.cs
示例15: cublasCgetriBatched
public static extern CublasStatus cublasCgetriBatched(CudaBlasHandle handle,
int n,
CUdeviceptr A, /*Device pointer*/
int lda,
CUdeviceptr P, /*Device pointer*/
CUdeviceptr C, /*Device pointer*/
int ldc,
CUdeviceptr INFO,
int batchSize);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:9,代码来源:CudaBlasNativeMethods.cs
示例16: cublasZsyrkx
public static extern CublasStatus cublasZsyrkx(CudaBlasHandle handle,
FillMode uplo,
Operation trans,
int n,
int k,
[In] CUdeviceptr alpha, /* host or device pointer */
[In] CUdeviceptr A,
int lda,
[In] CUdeviceptr B,
int ldb,
[In] CUdeviceptr beta, /* host or device pointer */
[In] CUdeviceptr C,
int ldc);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:13,代码来源:CudaBlasNativeMethods.cs
示例17: cublasChbmv_v2
public static extern CublasStatus cublasChbmv_v2(CudaBlasHandle handle,
FillMode uplo,
int n,
int k,
[In] ref cuFloatComplex alpha, // host or device pointer
[In] CUdeviceptr A,
int lda,
[In] CUdeviceptr x,
int incx,
[In] ref cuFloatComplex beta, // host or device pointer
CUdeviceptr y,
int incy);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:12,代码来源:CudaBlasNativeMethods.cs
示例18: cublasZsyr_v2
public static extern CublasStatus cublasZsyr_v2(CudaBlasHandle handle,
FillMode uplo,
int n,
[In] ref cuDoubleComplex alpha, // host or device pointer
[In] CUdeviceptr x,
int incx,
CUdeviceptr A,
int lda);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:8,代码来源:CudaBlasNativeMethods.cs
示例19: cublasChemv_v2
public static extern CublasStatus cublasChemv_v2(CudaBlasHandle handle,
FillMode uplo,
int n,
[In] CUdeviceptr alpha, // host or device pointer
[In] CUdeviceptr A,
int lda,
[In] CUdeviceptr x,
int incx,
[In] CUdeviceptr beta, // host or device pointer
CUdeviceptr y,
int incy);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:11,代码来源:CudaBlasNativeMethods.cs
示例20: cublasZtrsmBatched
public static extern CublasStatus cublasZtrsmBatched( CudaBlasHandle handle,
SideMode side,
FillMode uplo,
Operation trans,
DiagType diag,
int m,
int n,
ref cuDoubleComplex alpha, /*Host or Device Pointer*/
CUdeviceptr A,
int lda,
CUdeviceptr B,
int ldb,
int batchCount);
开发者ID:kunzmi,项目名称:managedCuda,代码行数:13,代码来源:CudaBlasNativeMethods.cs
注:本文中的ManagedCuda.CudaBlas.CudaBlasHandle类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论