[petsc-dev] Fwd: SACUDA - Cannot compile

Satish Balay balay at mcs.anl.gov
Wed Oct 27 17:35:22 CDT 2010


On Wed, 27 Oct 2010, Jed Brown wrote:

> On Wed, Oct 27, 2010 at 18:24, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> > Ok - perhaps we can simulate current behavior with:
> >
> > typedef char* VecType;
> > typedef const char* ConstVecType;
> >
> > and use VecType/ConstVecType as needed in code?
> 
> 
> This or just use the typedef in the CUDA interfaces (after #undef VecType).
>  Dirty, but would fix the current collision.

Ideally we should namespace all petsc objects...

PetscMat
PetscVec
....
[and PETSCMATAIJ?]

Satish



More information about the petsc-dev mailing list