:orphan: # PetscCuBLASIntCast like `PetscBLASIntCast()`, but for `PetscCuBLASInt`. ## Synopsis ``` static inline PetscErrorCode PetscCuBLASIntCast(PetscInt a, PetscCuBLASInt *b) ``` Not Collective; No Fortran Support ## Input Parameter - ***a -*** the `PetscInt` value ## Output Parameter - ***b -*** the resulting `PetscCuBLASInt` value ## Note Errors if the integer is negative since PETSc calls to cuBLAS and friends never need to cast negative integer inputs ## See Also `PetscCuBLASInt`, `PetscBLASInt`, `PetscMPIInt`, `PetscInt`, `PetscBLASIntCast()`, `PetscMPIIntCast()`, `PetscIntCast()` ## Level advanced ## Location include/petscsys.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsys.h) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)