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)
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments