Commit cc2a3552 authored by Mathieu Faverge's avatar Mathieu Faverge

Silent warning for unused variables

parent f39c61b6
...@@ -33,7 +33,6 @@ int CUDA_ztsmlq( ...@@ -33,7 +33,6 @@ int CUDA_ztsmlq(
CUBLAS_STREAM_PARAM) CUBLAS_STREAM_PARAM)
{ {
int i, i1, i3; int i, i1, i3;
int NW;
int kb; int kb;
int ic = 0; int ic = 0;
int jc = 0; int jc = 0;
...@@ -45,14 +44,6 @@ int CUDA_ztsmlq( ...@@ -45,14 +44,6 @@ int CUDA_ztsmlq(
return -1; return -1;
} }
/* NW is the minimum dimension of WORK */
if (side == ChamLeft) {
NW = IB;
}
else {
NW = N1;
}
if ((trans != ChamNoTrans) && (trans != ChamConjTrans)) { if ((trans != ChamNoTrans) && (trans != ChamConjTrans)) {
return -2; return -2;
} }
......
...@@ -33,7 +33,7 @@ int CUDA_ztsmqr( ...@@ -33,7 +33,7 @@ int CUDA_ztsmqr(
CUBLAS_STREAM_PARAM) CUBLAS_STREAM_PARAM)
{ {
int i, i1, i3; int i, i1, i3;
int NQ, NW; int NQ;
int kb; int kb;
int ic = 0; int ic = 0;
int jc = 0; int jc = 0;
...@@ -48,11 +48,9 @@ int CUDA_ztsmqr( ...@@ -48,11 +48,9 @@ int CUDA_ztsmqr(
/* NQ is the order of Q */ /* NQ is the order of Q */
if (side == ChamLeft) { if (side == ChamLeft) {
NQ = M2; NQ = M2;
NW = IB;
} }
else { else {
NQ = N2; NQ = N2;
NW = M1;
} }
if ((trans != ChamNoTrans) && (trans != ChamConjTrans)) { if ((trans != ChamNoTrans) && (trans != ChamConjTrans)) {
......
...@@ -33,7 +33,6 @@ int CUDA_zttmlq( ...@@ -33,7 +33,6 @@ int CUDA_zttmlq(
CUBLAS_STREAM_PARAM) CUBLAS_STREAM_PARAM)
{ {
int i, i1, i3; int i, i1, i3;
int NW;
int kb, l; int kb, l;
int ic = 0; int ic = 0;
int jc = 0; int jc = 0;
...@@ -47,14 +46,6 @@ int CUDA_zttmlq( ...@@ -47,14 +46,6 @@ int CUDA_zttmlq(
return -1; return -1;
} }
/* NQ is the order of Q */
if (side == ChamLeft) {
NW = IB;
}
else {
NW = N1;
}
if ((trans != ChamNoTrans) && (trans != ChamConjTrans)) { if ((trans != ChamNoTrans) && (trans != ChamConjTrans)) {
return -2; return -2;
} }
......
...@@ -33,7 +33,7 @@ int CUDA_zttmqr( ...@@ -33,7 +33,7 @@ int CUDA_zttmqr(
CUBLAS_STREAM_PARAM) CUBLAS_STREAM_PARAM)
{ {
int i, i1, i3; int i, i1, i3;
int NQ, NW; int NQ;
int kb, l; int kb, l;
int ic = 0; int ic = 0;
int jc = 0; int jc = 0;
...@@ -50,11 +50,9 @@ int CUDA_zttmqr( ...@@ -50,11 +50,9 @@ int CUDA_zttmqr(
/* NQ is the order of Q */ /* NQ is the order of Q */
if (side == ChamLeft) { if (side == ChamLeft) {
NQ = M2; NQ = M2;
NW = IB;
} }
else { else {
NQ = N2; NQ = N2;
NW = M1;
} }
if ((trans != ChamNoTrans) && (trans != ChamConjTrans)) { if ((trans != ChamNoTrans) && (trans != ChamConjTrans)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment