Mentions légales du service

Skip to content
Snippets Groups Projects

Check return value of then CUDA call in debug mode

Merged Mathieu Faverge requested to merge faverge/chameleon:cuda/check_return_value into master
1 file
+ 0
260
Compare changes
  • Side-by-side
  • Inline
@@ -21,15 +21,6 @@ int CUDA_cgemerge(
@@ -21,15 +21,6 @@ int CUDA_cgemerge(
void *A, void* LDA,
void *A, void* LDA,
void *B, void* LDB,
void *B, void* LDB,
void* stream);
void* stream);
int CUDA_cgemm_V2(
void* transa, void* transb,
int m, int n, int k,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_cgemm(
int CUDA_cgemm(
void* transa, void* transb,
void* transa, void* transb,
int m, int n, int k,
int m, int n, int k,
@@ -69,15 +60,6 @@ int CUDA_cgetrf_nopiv(
@@ -69,15 +60,6 @@ int CUDA_cgetrf_nopiv(
void* m, void* n,
void* m, void* n,
void *dA, void* ldda,
void *dA, void* ldda,
void* info);
void* info);
int CUDA_chemm_V2(
void* side, void* uplo,
int m, int n,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_chemm(
int CUDA_chemm(
void* side, void* uplo,
void* side, void* uplo,
int m, int n,
int m, int n,
@@ -87,15 +69,6 @@ int CUDA_chemm(
@@ -87,15 +69,6 @@ int CUDA_chemm(
void *beta,
void *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_cher2k_V2(
void* uplo, void* trans,
int n, int k,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
float *beta,
void *C, int ldc,
void* stream);
int CUDA_cher2k(
int CUDA_cher2k(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -105,14 +78,6 @@ int CUDA_cher2k(
@@ -105,14 +78,6 @@ int CUDA_cher2k(
float *beta,
float *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_cherk_V2(
void* uplo, void* trans,
int n, int k,
float *alpha,
const void *A, int lda,
float *beta,
void *B, int ldb,
void* stream);
int CUDA_cherk(
int CUDA_cherk(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -148,15 +113,6 @@ int CUDA_cssssm(
@@ -148,15 +113,6 @@ int CUDA_cssssm(
void *dL1, void* lddl1,
void *dL1, void* lddl1,
void *dL2, void* lddl2,
void *dL2, void* lddl2,
void* *IPIV, void* info);
void* *IPIV, void* info);
int CUDA_csymm_V2(
void* side, void* uplo,
int m, int n,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_csymm(
int CUDA_csymm(
void* side, void* uplo,
void* side, void* uplo,
int m, int n,
int m, int n,
@@ -166,15 +122,6 @@ int CUDA_csymm(
@@ -166,15 +122,6 @@ int CUDA_csymm(
void *beta,
void *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_csyr2k_V2(
void* uplo, void* trans,
int n, int k,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_csyr2k(
int CUDA_csyr2k(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -184,14 +131,6 @@ int CUDA_csyr2k(
@@ -184,14 +131,6 @@ int CUDA_csyr2k(
void *beta,
void *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_csyrk_V2(
void* uplo, void* trans,
int n, int k,
void *alpha,
const void *A, int lda,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_csyrk(
int CUDA_csyrk(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -200,15 +139,6 @@ int CUDA_csyrk(
@@ -200,15 +139,6 @@ int CUDA_csyrk(
void *beta,
void *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_ctrmm_V2(
void* side, void* uplo,
void* transa, void* diag,
int m, int n,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *C, int ldc,
void* stream);
int CUDA_ctrmm(
int CUDA_ctrmm(
void* side, void* uplo,
void* side, void* uplo,
void* transa, void* diag,
void* transa, void* diag,
@@ -217,14 +147,6 @@ int CUDA_ctrmm(
@@ -217,14 +147,6 @@ int CUDA_ctrmm(
const void *A, int lda,
const void *A, int lda,
void *B, int ldb,
void *B, int ldb,
void* stream);
void* stream);
int CUDA_ctrsm_V2(
void* side, void* uplo,
void* transa, void* diag,
int m, int n,
const void *alpha,
const void *A, int lda,
void *B, int ldb,
void* stream);
int CUDA_ctrsm(
int CUDA_ctrsm(
void* side, void* uplo,
void* side, void* uplo,
void* transa, void* diag,
void* transa, void* diag,
@@ -352,15 +274,6 @@ int CUDA_dgemerge(
@@ -352,15 +274,6 @@ int CUDA_dgemerge(
double *A, void* LDA,
double *A, void* LDA,
double *B, void* LDB,
double *B, void* LDB,
void* stream);
void* stream);
int CUDA_dgemm_V2(
void* transa, void* transb,
int m, int n, int k,
double *alpha,
const double *A, int lda,
const double *B, int ldb,
double *beta,
double *C, int ldc,
void* stream);
int CUDA_dgemm(
int CUDA_dgemm(
void* transa, void* transb,
void* transa, void* transb,
int m, int n, int k,
int m, int n, int k,
@@ -400,15 +313,6 @@ int CUDA_dgetrf_nopiv(
@@ -400,15 +313,6 @@ int CUDA_dgetrf_nopiv(
void* m, void* n,
void* m, void* n,
double *dA, void* ldda,
double *dA, void* ldda,
void* info);
void* info);
int CUDA_dsymm_V2(
void* side, void* uplo,
int m, int n,
double *alpha,
const double *A, int lda,
const double *B, int ldb,
double *beta,
double *C, int ldc,
void* stream);
int CUDA_dsymm(
int CUDA_dsymm(
void* side, void* uplo,
void* side, void* uplo,
int m, int n,
int m, int n,
@@ -418,15 +322,6 @@ int CUDA_dsymm(
@@ -418,15 +322,6 @@ int CUDA_dsymm(
double *beta,
double *beta,
double *C, int ldc,
double *C, int ldc,
void* stream);
void* stream);
int CUDA_dsyr2k_V2(
void* uplo, void* trans,
int n, int k,
double *alpha,
const double *A, int lda,
const double *B, int ldb,
double *beta,
double *C, int ldc,
void* stream);
int CUDA_dsyr2k(
int CUDA_dsyr2k(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -436,14 +331,6 @@ int CUDA_dsyr2k(
@@ -436,14 +331,6 @@ int CUDA_dsyr2k(
double *beta,
double *beta,
double *C, int ldc,
double *C, int ldc,
void* stream);
void* stream);
int CUDA_dsyrk_V2(
void* uplo, void* trans,
int n, int k,
double *alpha,
const double *A, int lda,
double *beta,
double *B, int ldb,
void* stream);
int CUDA_dsyrk(
int CUDA_dsyrk(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -479,15 +366,6 @@ int CUDA_dssssm(
@@ -479,15 +366,6 @@ int CUDA_dssssm(
double *dL1, void* lddl1,
double *dL1, void* lddl1,
double *dL2, void* lddl2,
double *dL2, void* lddl2,
void* *IPIV, void* info);
void* *IPIV, void* info);
int CUDA_dtrmm_V2(
void* side, void* uplo,
void* transa, void* diag,
int m, int n,
double *alpha,
const double *A, int lda,
const double *B, int ldb,
double *C, int ldc,
void* stream);
int CUDA_dtrmm(
int CUDA_dtrmm(
void* side, void* uplo,
void* side, void* uplo,
void* transa, void* diag,
void* transa, void* diag,
@@ -496,14 +374,6 @@ int CUDA_dtrmm(
@@ -496,14 +374,6 @@ int CUDA_dtrmm(
const double *A, int lda,
const double *A, int lda,
double *B, int ldb,
double *B, int ldb,
void* stream);
void* stream);
int CUDA_dtrsm_V2(
void* side, void* uplo,
void* transa, void* diag,
int m, int n,
const double *alpha,
const double *A, int lda,
double *B, int ldb,
void* stream);
int CUDA_dtrsm(
int CUDA_dtrsm(
void* side, void* uplo,
void* side, void* uplo,
void* transa, void* diag,
void* transa, void* diag,
@@ -631,15 +501,6 @@ int CUDA_sgemerge(
@@ -631,15 +501,6 @@ int CUDA_sgemerge(
float *A, void* LDA,
float *A, void* LDA,
float *B, void* LDB,
float *B, void* LDB,
void* stream);
void* stream);
int CUDA_sgemm_V2(
void* transa, void* transb,
int m, int n, int k,
float *alpha,
const float *A, int lda,
const float *B, int ldb,
float *beta,
float *C, int ldc,
void* stream);
int CUDA_sgemm(
int CUDA_sgemm(
void* transa, void* transb,
void* transa, void* transb,
int m, int n, int k,
int m, int n, int k,
@@ -679,15 +540,6 @@ int CUDA_sgetrf_nopiv(
@@ -679,15 +540,6 @@ int CUDA_sgetrf_nopiv(
void* m, void* n,
void* m, void* n,
float *dA, void* ldda,
float *dA, void* ldda,
void* info);
void* info);
int CUDA_ssymm_V2(
void* side, void* uplo,
int m, int n,
float *alpha,
const float *A, int lda,
const float *B, int ldb,
float *beta,
float *C, int ldc,
void* stream);
int CUDA_ssymm(
int CUDA_ssymm(
void* side, void* uplo,
void* side, void* uplo,
int m, int n,
int m, int n,
@@ -697,15 +549,6 @@ int CUDA_ssymm(
@@ -697,15 +549,6 @@ int CUDA_ssymm(
float *beta,
float *beta,
float *C, int ldc,
float *C, int ldc,
void* stream);
void* stream);
int CUDA_ssyr2k_V2(
void* uplo, void* trans,
int n, int k,
float *alpha,
const float *A, int lda,
const float *B, int ldb,
float *beta,
float *C, int ldc,
void* stream);
int CUDA_ssyr2k(
int CUDA_ssyr2k(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -715,14 +558,6 @@ int CUDA_ssyr2k(
@@ -715,14 +558,6 @@ int CUDA_ssyr2k(
float *beta,
float *beta,
float *C, int ldc,
float *C, int ldc,
void* stream);
void* stream);
int CUDA_ssyrk_V2(
void* uplo, void* trans,
int n, int k,
float *alpha,
const float *A, int lda,
float *beta,
float *B, int ldb,
void* stream);
int CUDA_ssyrk(
int CUDA_ssyrk(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -758,15 +593,6 @@ int CUDA_sssssm(
@@ -758,15 +593,6 @@ int CUDA_sssssm(
float *dL1, void* lddl1,
float *dL1, void* lddl1,
float *dL2, void* lddl2,
float *dL2, void* lddl2,
void* *IPIV, void* info);
void* *IPIV, void* info);
int CUDA_strmm_V2(
void* side, void* uplo,
void* transa, void* diag,
int m, int n,
float *alpha,
const float *A, int lda,
const float *B, int ldb,
float *C, int ldc,
void* stream);
int CUDA_strmm(
int CUDA_strmm(
void* side, void* uplo,
void* side, void* uplo,
void* transa, void* diag,
void* transa, void* diag,
@@ -775,14 +601,6 @@ int CUDA_strmm(
@@ -775,14 +601,6 @@ int CUDA_strmm(
const float *A, int lda,
const float *A, int lda,
float *B, int ldb,
float *B, int ldb,
void* stream);
void* stream);
int CUDA_strsm_V2(
void* side, void* uplo,
void* transa, void* diag,
int m, int n,
const float *alpha,
const float *A, int lda,
float *B, int ldb,
void* stream);
int CUDA_strsm(
int CUDA_strsm(
void* side, void* uplo,
void* side, void* uplo,
void* transa, void* diag,
void* transa, void* diag,
@@ -910,15 +728,6 @@ int CUDA_zgemerge(
@@ -910,15 +728,6 @@ int CUDA_zgemerge(
void *A, void* LDA,
void *A, void* LDA,
void *B, void* LDB,
void *B, void* LDB,
void* stream);
void* stream);
int CUDA_zgemm_V2(
void* transa, void* transb,
int m, int n, int k,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_zgemm(
int CUDA_zgemm(
void* transa, void* transb,
void* transa, void* transb,
int m, int n, int k,
int m, int n, int k,
@@ -958,15 +767,6 @@ int CUDA_zgetrf_nopiv(
@@ -958,15 +767,6 @@ int CUDA_zgetrf_nopiv(
void* m, void* n,
void* m, void* n,
void *dA, void* ldda,
void *dA, void* ldda,
void* info);
void* info);
int CUDA_zhemm_V2(
void* side, void* uplo,
int m, int n,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_zhemm(
int CUDA_zhemm(
void* side, void* uplo,
void* side, void* uplo,
int m, int n,
int m, int n,
@@ -976,15 +776,6 @@ int CUDA_zhemm(
@@ -976,15 +776,6 @@ int CUDA_zhemm(
void *beta,
void *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_zher2k_V2(
void* uplo, void* trans,
int n, int k,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
double *beta,
void *C, int ldc,
void* stream);
int CUDA_zher2k(
int CUDA_zher2k(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -994,14 +785,6 @@ int CUDA_zher2k(
@@ -994,14 +785,6 @@ int CUDA_zher2k(
double *beta,
double *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_zherk_V2(
void* uplo, void* trans,
int n, int k,
double *alpha,
const void *A, int lda,
double *beta,
void *B, int ldb,
void* stream);
int CUDA_zherk(
int CUDA_zherk(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -1037,15 +820,6 @@ int CUDA_zssssm(
@@ -1037,15 +820,6 @@ int CUDA_zssssm(
void *dL1, void* lddl1,
void *dL1, void* lddl1,
void *dL2, void* lddl2,
void *dL2, void* lddl2,
void* *IPIV, void* info);
void* *IPIV, void* info);
int CUDA_zsymm_V2(
void* side, void* uplo,
int m, int n,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_zsymm(
int CUDA_zsymm(
void* side, void* uplo,
void* side, void* uplo,
int m, int n,
int m, int n,
@@ -1055,15 +829,6 @@ int CUDA_zsymm(
@@ -1055,15 +829,6 @@ int CUDA_zsymm(
void *beta,
void *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_zsyr2k_V2(
void* uplo, void* trans,
int n, int k,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_zsyr2k(
int CUDA_zsyr2k(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -1073,14 +838,6 @@ int CUDA_zsyr2k(
@@ -1073,14 +838,6 @@ int CUDA_zsyr2k(
void *beta,
void *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_zsyrk_V2(
void* uplo, void* trans,
int n, int k,
void *alpha,
const void *A, int lda,
void *beta,
void *C, int ldc,
void* stream);
int CUDA_zsyrk(
int CUDA_zsyrk(
void* uplo, void* trans,
void* uplo, void* trans,
int n, int k,
int n, int k,
@@ -1089,15 +846,6 @@ int CUDA_zsyrk(
@@ -1089,15 +846,6 @@ int CUDA_zsyrk(
void *beta,
void *beta,
void *C, int ldc,
void *C, int ldc,
void* stream);
void* stream);
int CUDA_ztrmm_V2(
void* side, void* uplo,
void* transa, void* diag,
int m, int n,
void *alpha,
const void *A, int lda,
const void *B, int ldb,
void *C, int ldc,
void* stream);
int CUDA_ztrmm(
int CUDA_ztrmm(
void* side, void* uplo,
void* side, void* uplo,
void* transa, void* diag,
void* transa, void* diag,
@@ -1106,14 +854,6 @@ int CUDA_ztrmm(
@@ -1106,14 +854,6 @@ int CUDA_ztrmm(
const void *A, int lda,
const void *A, int lda,
void *B, int ldb,
void *B, int ldb,
void* stream);
void* stream);
int CUDA_ztrsm_V2(
void* side, void* uplo,
void* transa, void* diag,
int m, int n,
const void *alpha,
const void *A, int lda,
void *B, int ldb,
void* stream);
int CUDA_ztrsm(
int CUDA_ztrsm(
void* side, void* uplo,
void* side, void* uplo,
void* transa, void* diag,
void* transa, void* diag,
Loading