File error.h

Error functions.

Enums

enum ga_error

List of all the possible error codes.

Values:

enumerator GA_NO_ERROR = 0
enumerator GA_MEMORY_ERROR
enumerator GA_VALUE_ERROR
enumerator GA_IMPL_ERROR
enumerator GA_INVALID_ERROR
enumerator GA_UNSUPPORTED_ERROR
enumerator GA_SYS_ERROR
enumerator GA_RUN_ERROR
enumerator GA_DEVSUP_ERROR
enumerator GA_READONLY_ERROR
enumerator GA_WRITEONLY_ERROR
enumerator GA_BLAS_ERROR
enumerator GA_UNALIGNED_ERROR
enumerator GA_COPY_ERROR
enumerator GA_NODEV_ERROR
enumerator GA_MISC_ERROR
enumerator GA_COMM_ERROR
enumerator GA_XLARGE_ERROR
enumerator GA_LOAD_ERROR

Functions

const char *gpuarray_error_str(int err)

Returns a user-readable description for most error codes.

Some errors only happen in a context and in those cases Gpu_error() will provide more details as to the reason for the error.