PetscCuBLASInt — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscCuBLASInt

datatype used to represent ‘int’ parameters to cuBLAS/cuSOLVER functions.

## Notes

As of this writing `PetscCuBLASInt` is always the system `int`.

`PetscErrorCode` `PetscCuBLASIntCast`(a,&b) checks if the given `PetscInt` a will fit in a `PetscCuBLASInt`, if not it generates a `PETSC_ERR_ARG_OUTOFRANGE` error

## See Also

`PetscBLASInt`, `PetscMPIInt`, `PetscInt`, `PetscCuBLASIntCast()`

## Level

intermediate

## Location

include/petscsystypes.h

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages