Lines Matching refs:A2
128 Mat A2 = NULL; in TimedSpMV() local
147 PetscCall(MatDestroy(&A2)); in TimedSpMV()
148 PetscCall(MatDuplicate(A, MAT_COPY_VALUES, &A2)); in TimedSpMV()
149 PetscCall(MatSetType(A2, petscmatformat)); in TimedSpMV()
150 …PetscCall(MatSetFromOptions(A2)); // This allows to change parameters such as slice height in SpMV… in TimedSpMV()
151 } else A2 = A; in TimedSpMV()
155 PetscCall(MatMult(A2, b, u)); in TimedSpMV()
163 if (repetitions > 0 && use_gpu) PetscCall(MatDestroy(&A2)); in TimedSpMV()
169 Mat A2 = NULL; in WarmUpDevice() local
185 PetscCall(MatDuplicate(A, MAT_COPY_VALUES, &A2)); in WarmUpDevice()
186 PetscCall(MatSetType(A2, petscmatformat)); in WarmUpDevice()
189 PetscCall(MatMult(A2, b, u)); in WarmUpDevice()
192 PetscCall(MatDestroy(&A2)); in WarmUpDevice()