[clblas] 03/67: Removed printfs in case of invalid matrices from SYMM
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Oct 27 08:02:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository clblas.
commit 7f01bdfd6bf24b447cc23e4b4dc450feb6993bf8
Author: CNugteren <web at cedricnugteren.nl>
Date: Thu Jul 30 08:30:25 2015 +0200
Removed printfs in case of invalid matrices from SYMM
---
src/library/blas/xsymm.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/library/blas/xsymm.c b/src/library/blas/xsymm.c
index 5c87fc6..3764fec 100644
--- a/src/library/blas/xsymm.c
+++ b/src/library/blas/xsymm.c
@@ -51,31 +51,26 @@ doSymm( CLBlasKargs *kargs, clblasOrder order, clblasUplo uplo, clblasSide side,
/* Validate arguments */
if ((retCode = checkMemObjects(A, B, C, true, A_MAT_ERRSET, B_MAT_ERRSET, C_MAT_ERRSET))) {
- printf("SYMM:- Invalid mem object..\n");
return retCode;
}
if ((retCode = checkMatrixSizes(kargs->dtype, order, clblasNoTrans, M, N, B, offb, ldb, B_MAT_ERRSET))) {
- printf("Invalid Size for B\n");
return retCode;
}
if ((retCode = checkMatrixSizes(kargs->dtype, order, clblasNoTrans, M, N, C, offc, ldc, C_MAT_ERRSET))) {
- printf("Invalid Size for C\n");
return retCode;
}
if (side == clblasLeft)
{
// MxM x MxN
if ((retCode = checkMatrixSizes(kargs->dtype, order, clblasNoTrans, M, M, A, offa, lda, A_MAT_ERRSET))) {
- printf("Invalid Size for A\n");
return retCode;
}
} else {
// MxN x NxN
if ((retCode = checkMatrixSizes(kargs->dtype, order, clblasNoTrans, N, N, A, offa, lda, A_MAT_ERRSET))) {
- printf("Invalid Size for A\n");
return retCode;
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git
More information about the debian-science-commits
mailing list