| a990dd81 | 10-Mar-2016 |
Alejandro Lamas Daviña <alejandro.lamas@dsic.upv.es> |
veccuda: add VecCUDA((Re)Place/Reset)Array
Allow to (re)place the GPU array on a vector in the same way it is done with the host memory array. Like VecPlaceArray(), VecCUDAPlaceArray() uses Vec->unp
veccuda: add VecCUDA((Re)Place/Reset)Array
Allow to (re)place the GPU array on a vector in the same way it is done with the host memory array. Like VecPlaceArray(), VecCUDAPlaceArray() uses Vec->unplacedarray. It prevents both functions to be used on the same vector at the same time.
show more ...
|
| 78ec4774 | 10-Mar-2016 |
Toby Isaac <tisaac@uchicago.edu> |
PetscSFBasic: fix usage of MPI_Reduce_local
If we couldn't use one of the predefined ops, then the user must specify an op that operates on the whole datatype passed to PetscSFReduceBegin()/PetscSFR
PetscSFBasic: fix usage of MPI_Reduce_local
If we couldn't use one of the predefined ops, then the user must specify an op that operates on the whole datatype passed to PetscSFReduceBegin()/PetscSFReduceEnd(). In this setting, a block size (link->bs) that is not equal to 1 is sometimes calculated, because it may be determined that the datatype is in fact a contiguously packed set of e.g., PetscInt. That block size must be ignored in this setting, because (link->bs * typesize) is not the data stride, typesize is.
show more ...
|
| 7288e8b3 | 10-Feb-2016 |
Alejandro Lamas Daviña <alejandro.lamas@dsic.upv.es> |
veccusp: add VecCUSP((Re)Place/Reset)Array
Allow to (re)place the CUSPARRAY on a vector in the same way it is done with the host memory array. Like VecPlaceArray(), VecCUSPPlaceArray() uses Vec->unp
veccusp: add VecCUSP((Re)Place/Reset)Array
Allow to (re)place the CUSPARRAY on a vector in the same way it is done with the host memory array. Like VecPlaceArray(), VecCUSPPlaceArray() uses Vec->unplacedarray. It prevents both functions to be used on the same vector at the same time.
show more ...
|