Skip to content

Commit 1753a4e

Browse files
committed
remove some unused variables
1 parent 12487f0 commit 1753a4e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Libraries/oneMKL/sparse_conjugate_gradient/sparse_cg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ int run_sparse_pcg_example(const sycl::device &dev)
358358
dataType *normr_d = temp_d;
359359
dataType *rtz_h = temp_h+1*width;
360360
dataType *rtz_d = temp_d+1*width;
361-
dataType *oldrtz_h = temp_h+2*width;
362-
dataType *oldrtz_d = temp_d+2*width;
361+
//dataType *oldrtz_h = temp_h+2*width;
362+
//dataType *oldrtz_d = temp_d+2*width;
363363
dataType *pAp_h = temp_h+3*width;
364364
dataType *pAp_d = temp_d+3*width;
365365

Libraries/oneMKL/sparse_conjugate_gradient/sparse_cg2.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,11 +430,11 @@ int run_sparse_pcg_example(const sycl::device &dev)
430430
// device side aliases scattered by width elements each
431431
dataType *normr_h = temp_h;
432432
dataType *normr_d = temp_d;
433-
dataType *rtz_h = temp_h+1*width;
433+
//dataType *rtz_h = temp_h+1*width;
434434
dataType *rtz_d = temp_d+1*width;
435-
dataType *oldrtz_h = temp_h+2*width;
435+
//dataType *oldrtz_h = temp_h+2*width;
436436
dataType *oldrtz_d = temp_d+2*width;
437-
dataType *pAp_h = temp_h+3*width;
437+
//dataType *pAp_h = temp_h+3*width;
438438
dataType *pAp_d = temp_d+3*width;
439439

440440
// copy data from host to device arrays

0 commit comments

Comments
 (0)