Searched refs:row_buffer (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/impls/aij/seq/seqviennacl/ |
| H A D | aijviennacl.cxx | 42 viennacl::backend::typesafe_host_array<unsigned int> row_buffer; in MatViennaCLCopyToGPU() local 43 row_buffer.raw_resize(dummy, a->compressedrow.nrows + 1); in MatViennaCLCopyToGPU() 44 … for (PetscInt i = 0; i <= a->compressedrow.nrows; ++i) row_buffer.set(i, (a->compressedrow.i)[i]); in MatViennaCLCopyToGPU() 54 …viennaclstruct->compressed_mat->set(row_buffer.get(), row_indices.get(), col_buffer.get(), a->a, A… in MatViennaCLCopyToGPU() 62 viennacl::backend::typesafe_host_array<unsigned int> row_buffer; in MatViennaCLCopyToGPU() local 63 row_buffer.raw_resize(dummy, A->rmap->n + 1); in MatViennaCLCopyToGPU() 64 for (PetscInt i = 0; i <= A->rmap->n; ++i) row_buffer.set(i, (a->i)[i]); in MatViennaCLCopyToGPU() 70 … viennaclstruct->mat->set(row_buffer.get(), col_buffer.get(), a->a, A->rmap->n, A->cmap->n, a->nz); in MatViennaCLCopyToGPU() 129 viennacl::backend::typesafe_host_array<unsigned int> row_buffer; in MatViennaCLCopyFromGPU() local 130 row_buffer.raw_resize(Agpu->handle1(), Agpu->size1() + 1); in MatViennaCLCopyFromGPU() [all …]
|