IMSL Fortran Math Library
CUDA_ERROR_PRINT
Prints error messages generated through the use of the CUDABLAS Library using the IMSL error handler.
Required Arguments
ISZ — An array of length 5. (Input/Output)
The elemnents of ISZ contain the following:
ISZ
Element
Description
ISZ(1)
NOT used.
ISZ(2)
NOT used.
ISZ(3)
Used to pass the argument number of the BLAS routine being called which is in error.
ISZ(4)
The enumeration value which identifies the name of the routine for which an error has occurred. ISZ(4) can be one of the enumerated values listed in Table 9.3, Table 9.4, or Table 9.5.
ISZ(5)
NOT used.
NARRAY_ARGS — The number of array arguments for which the error occurred. (Input)
ERROR_NUMBER — An integer which identifies the error which occurred. (Input)
ERROR_NUMBER can be one of the following:
ERROR_NUMBER Value
Error Description
ISZ(1)
“GPU memory allocation error for array argument = %(i1) of .
ISZ(2)
“CPU or GPU copy failure for array argument = %(i1) of .
ISZ(3)
“GPU or CPU copy failure for array argument = %(i1), the result:”
ISZ(4)
“Error in routine argument =. %(i1) of Fortran version.
ISZ(5)
“Double precision hardware on GPU not available for .
FORTRAN 90 Interface
Generic: CALL CUDA_ERROR_PRINT (ISZ, NARRAY_ARGS, ERROR_NUMBER)
Description
Note: Normally, this routine is not called by the user.
This routine is used internally to process and print error messages generated through the use of the CUDABLAS Library.