cuda.bindings.cufile.OpError#

class cuda.bindings.cufile.OpError(value: int)#

See CUfileOpError.

__init__()#

Methods

__init__()

as_integer_ratio()

Return a pair of integers, whose ratio is equal to the original int.

bit_count()

Number of ones in the binary representation of the absolute value of self.

bit_length()

Number of bits necessary to represent self in binary.

conjugate

Returns self, the complex conjugate of any int.

from_bytes([byteorder, signed])

Return the integer represented by the given array of bytes.

is_integer()

Returns True.

to_bytes([length, byteorder, signed])

Return an array of bytes representing an integer.

Attributes

ASYNC_NOT_SUPPORTED

BATCH_FULL

BATCH_NOCOMPAT_ERROR

BATCH_SUBMIT_FAILED

CUDA_CONTEXT_MISMATCH

CUDA_DRIVER_ERROR

CUDA_MEMORY_TYPE_INVALID

CUDA_POINTER_INVALID

CUDA_POINTER_RANGE_ERROR

DEVICE_NOT_FOUND

DEVICE_NOT_SUPPORTED

DIO_NOT_SET

DRIVER_ALREADY_OPEN

DRIVER_CLOSING

DRIVER_INVALID_PROPS

DRIVER_NOT_INITIALIZED

DRIVER_UNSUPPORTED_LIMIT

DRIVER_VERSION_MISMATCH

DRIVER_VERSION_READ_ERROR

GETNEWFD_FAILED

GPU_MEMORY_PINNING_FAILED

HANDLE_ALREADY_REGISTERED

HANDLE_NOT_REGISTERED

HASH_OPR_ERROR

INTERNAL_BATCH_CANCEL_ERROR

INTERNAL_BATCH_GETSTATUS_ERROR

INTERNAL_BATCH_SETUP_ERROR

INTERNAL_BATCH_SUBMIT_ERROR

INTERNAL_BUF_REGISTER_ERROR

INTERNAL_ERROR

INVALID_CONTEXT_ERROR

INVALID_FILE_OPEN_FLAG

INVALID_FILE_TYPE

INVALID_MAPPING_RANGE

INVALID_MAPPING_SIZE

INVALID_VALUE

IO_DISABLED

IO_ERROR

IO_MAX_ERROR

IO_NOT_SUPPORTED

MEMORY_ALREADY_REGISTERED

MEMORY_NOT_REGISTERED

NOMEM_ERROR

NVFS_DRIVER_ERROR

NVFS_INTERNAL_DRIVER_ERROR

NVFS_SETUP_ERROR

PERMISSION_DENIED

PLATFORM_NOT_SUPPORTED

SUCCESS

denominator

the denominator of a rational number in lowest terms

imag

the imaginary part of a complex number

name

numerator

the numerator of a rational number in lowest terms

real

the real part of a complex number

value