Searched refs:max_loc (Results 1 – 1 of 1) sorted by relevance
1661 cupmBlasInt_t max_loc = 0; in Norm() local1666 PetscCallCUPMBLAS(cupmBlasXamax(cupmBlasHandle, n, xptr.cupmdata(), 1, &max_loc)); in Norm()1667 …PetscCall(PetscCUPMMemcpyAsync(&xv, xptr.data() + max_loc - 1, 1, cupmMemcpyDeviceToHost, stream)); in Norm()