File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Libraries/oneMKL/sparse_conjugate_gradient Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -358,8 +358,8 @@ int run_sparse_pcg_example(const sycl::device &dev)
358
358
dataType *normr_d = temp_d;
359
359
dataType *rtz_h = temp_h+1 *width;
360
360
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;
363
363
dataType *pAp_h = temp_h+3 *width;
364
364
dataType *pAp_d = temp_d+3 *width;
365
365
Original file line number Diff line number Diff line change @@ -430,11 +430,11 @@ int run_sparse_pcg_example(const sycl::device &dev)
430
430
// device side aliases scattered by width elements each
431
431
dataType *normr_h = temp_h;
432
432
dataType *normr_d = temp_d;
433
- dataType *rtz_h = temp_h+1 *width;
433
+ // dataType *rtz_h = temp_h+1*width;
434
434
dataType *rtz_d = temp_d+1 *width;
435
- dataType *oldrtz_h = temp_h+2 *width;
435
+ // dataType *oldrtz_h = temp_h+2*width;
436
436
dataType *oldrtz_d = temp_d+2 *width;
437
- dataType *pAp_h = temp_h+3 *width;
437
+ // dataType *pAp_h = temp_h+3*width;
438
438
dataType *pAp_d = temp_d+3 *width;
439
439
440
440
// copy data from host to device arrays
You can’t perform that action at this time.
0 commit comments