Searched hist:ea500dcf30ffef220839d8a7e6a1237a802d17f4 (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/impls/aij/seq/seqviennacl/ |
| H A D | aijviennacl.cxx | diff ea500dcf30ffef220839d8a7e6a1237a802d17f4 Thu Mar 25 18:30:40 UTC 2021 Richard Tran Mills <rmills@rmills.org> Prevent unsafe setting of inode.use to true in MatBindToCPU() for cuSPARSE and ViennaCL matrices.
This fixes an issue caused by Stefano's commit c58ef05e, "MatInode: set it to false when using device matrices", which introduced flipping the inode.use flag inside MatBindToCPU_SeqAIJCUSPARSE() and MatBindToCPU_SeqAIJViennaCL(). I have found cases in which this would cause "Corrupted Petsc object, Missing Inode Structure" errors. Only flipping inode.use to true if inode.size is nonzero eliminates these errors.
|
| /petsc/src/mat/impls/aij/seq/seqcusparse/ |
| H A D | aijcusparse.cu | diff ea500dcf30ffef220839d8a7e6a1237a802d17f4 Thu Mar 25 18:30:40 UTC 2021 Richard Tran Mills <rmills@rmills.org> Prevent unsafe setting of inode.use to true in MatBindToCPU() for cuSPARSE and ViennaCL matrices.
This fixes an issue caused by Stefano's commit c58ef05e, "MatInode: set it to false when using device matrices", which introduced flipping the inode.use flag inside MatBindToCPU_SeqAIJCUSPARSE() and MatBindToCPU_SeqAIJViennaCL(). I have found cases in which this would cause "Corrupted Petsc object, Missing Inode Structure" errors. Only flipping inode.use to true if inode.size is nonzero eliminates these errors.
|