public class CUresult extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CUDA_ERROR_ALREADY_ACQUIRED
This indicates that a resource has already been acquired.
|
static int |
CUDA_ERROR_ALREADY_MAPPED
This indicates that the resource is already mapped.
|
static int |
CUDA_ERROR_ARRAY_IS_MAPPED
This indicates that the specified array is currently mapped and thus
cannot be destroyed.
|
static int |
CUDA_ERROR_ASSERT
A device-side assert triggered during kernel execution.
|
static int |
CUDA_ERROR_CAPTURED_EVENT
This error indicates that the operation is not permitted on an event which
was last recorded in a capturing stream.
|
static int |
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE
This error indicates that the system was upgraded to run with forward
compatibility but the visible hardware detected by CUDA does not support
this configuration.
|
static int |
CUDA_ERROR_CONTEXT_ALREADY_CURRENT
This indicated that the context being supplied as a parameter to the
API call was already the active context.
|
static int |
CUDA_ERROR_CONTEXT_ALREADY_IN_USE
This indicates that the ::CUcontext passed to the API call can
only be bound to a single CPU thread at a time but is already
bound to a CPU thread.
|
static int |
CUDA_ERROR_CONTEXT_IS_DESTROYED
This error indicates that the context current to the calling thread
has been destroyed using ::cuCtxDestroy, or is a primary context which
has not yet been initialized.
|
static int |
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE
This error indicates that the number of blocks launched per grid for a
kernel that was launched via either ::cuLaunchCooperativeKernel or
::cuLaunchCooperativeKernelMultiDevice exceeds the maximum number of
blocks as allowed by ::cuOccupancyMaxActiveBlocksPerMultiprocessor or
::cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number
of multiprocessors as specified by the device attribute
::CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
|
static int |
CUDA_ERROR_DEINITIALIZED
This indicates that the CUDA driver is in the process of shutting down.
|
static int |
CUDA_ERROR_ECC_UNCORRECTABLE
This indicates that an uncorrectable ECC error was detected during
execution.
|
static int |
CUDA_ERROR_FILE_NOT_FOUND
This indicates that the file specified was not found.
|
static int |
CUDA_ERROR_GRAPH_EXEC_UPDATE_FAILURE
This error indicates that the graph update was not performed because it included
changes which violated constraints specific to instantiated graph update.
|
static int |
CUDA_ERROR_HARDWARE_STACK_ERROR
While executing a kernel, the device encountered a stack error.
|
static int |
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED
This error indicates that the memory range passed to ::cuMemHostRegister()
has already been registered.
|
static int |
CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED
This error indicates that the pointer passed to ::cuMemHostUnregister()
does not correspond to any currently registered memory region.
|
static int |
CUDA_ERROR_ILLEGAL_ADDRESS
While executing a kernel, the device encountered a
load or store instruction on an invalid memory address.
|
static int |
CUDA_ERROR_ILLEGAL_INSTRUCTION
While executing a kernel, the device encountered an illegal instruction.
|
static int |
CUDA_ERROR_ILLEGAL_STATE
This indicates that a resource required by the API call is not in a
valid state to perform the requested operation.
|
static int |
CUDA_ERROR_INVALID_ADDRESS_SPACE
While executing a kernel, the device encountered an instruction
which can only operate on memory locations in certain address spaces
(global, shared, or local), but was supplied a memory address not
belonging to an allowed address space.
|
static int |
CUDA_ERROR_INVALID_CONTEXT
This most frequently indicates that there is no context bound to the
current thread.
|
static int |
CUDA_ERROR_INVALID_DEVICE
This indicates that the device ordinal supplied by the user does not
correspond to a valid CUDA device.
|
static int |
CUDA_ERROR_INVALID_GRAPHICS_CONTEXT
This indicates an error with OpenGL or DirectX context.
|
static int |
CUDA_ERROR_INVALID_HANDLE
This indicates that a resource handle passed to the API call was not
valid.
|
static int |
CUDA_ERROR_INVALID_IMAGE
This indicates that the device kernel image is invalid.
|
static int |
CUDA_ERROR_INVALID_PC
While executing a kernel, the device program counter wrapped its address space.
|
static int |
CUDA_ERROR_INVALID_PTX
This indicates that a PTX JIT compilation failed.
|
static int |
CUDA_ERROR_INVALID_SOURCE
This indicates that the device kernel source is invalid.
|
static int |
CUDA_ERROR_INVALID_VALUE
This indicates that one or more of the parameters passed to the API call
is not within an acceptable range of values.
|
static int |
CUDA_ERROR_JIT_COMPILER_NOT_FOUND
This indicates that the PTX JIT compiler library was not found.
|
static int |
CUDA_ERROR_LAUNCH_FAILED
An exception occurred on the device while executing a kernel.
|
static int |
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING
This error indicates a kernel launch that uses an incompatible texturing
mode.
|
static int |
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
This indicates that a launch did not occur because it did not have
appropriate resources.
|
static int |
CUDA_ERROR_LAUNCH_TIMEOUT
This indicates that the device kernel took too long to execute.
|
static int |
CUDA_ERROR_MAP_FAILED
This indicates that a map or register operation has failed.
|
static int |
CUDA_ERROR_MISALIGNED_ADDRESS
While executing a kernel, the device encountered a load or store instruction
on a memory address which is not aligned.
|
static int |
CUDA_ERROR_NO_BINARY_FOR_GPU
This indicates that there is no kernel image available that is suitable
for the device.
|
static int |
CUDA_ERROR_NO_DEVICE
This indicates that no CUDA-capable devices were detected by the installed
CUDA driver.
|
static int |
CUDA_ERROR_NOT_FOUND
This indicates that a named symbol was not found.
|
static int |
CUDA_ERROR_NOT_INITIALIZED
This indicates that the CUDA driver has not been initialized with
::cuInit() or that initialization has failed.
|
static int |
CUDA_ERROR_NOT_MAPPED
This indicates that a resource is not mapped.
|
static int |
CUDA_ERROR_NOT_MAPPED_AS_ARRAY
This indicates that a mapped resource is not available for access as an
array.
|
static int |
CUDA_ERROR_NOT_MAPPED_AS_POINTER
This indicates that a mapped resource is not available for access as a
pointer.
|
static int |
CUDA_ERROR_NOT_PERMITTED
This error indicates that the attempted operation is not permitted.
|
static int |
CUDA_ERROR_NOT_READY
This indicates that asynchronous operations issued previously have not
completed yet.
|
static int |
CUDA_ERROR_NOT_SUPPORTED
This error indicates that the attempted operation is not supported
on the current system or device.
|
static int |
CUDA_ERROR_NVLINK_UNCORRECTABLE
This indicates that an uncorrectable NVLink error was detected during
the execution.
|
static int |
CUDA_ERROR_OPERATING_SYSTEM
This indicates that an OS call failed.
|
static int |
CUDA_ERROR_OUT_OF_MEMORY
The API call failed because it was unable to allocate enough memory to
perform the requested operation.
|
static int |
CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED
This error indicates that a call to ::cuCtxEnablePeerAccess() is
trying to re-enable peer access to a context which has already
had peer access to it enabled.
|
static int |
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED
This error indicates that a call to ::cuMemPeerRegister is trying to
register memory from a context which has not had peer access
enabled yet via ::cuCtxEnablePeerAccess(), or that
::cuCtxDisablePeerAccess() is trying to disable peer access
which has not been enabled yet.
|
static int |
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED
This indicates that peer access is not supported across the given
devices.
|
static int |
CUDA_ERROR_PEER_MEMORY_ALREADY_REGISTERED
Deprecated.
This value has been added in CUDA 4.0 RC,
and removed in CUDA 4.0 RC2
|
static int |
CUDA_ERROR_PEER_MEMORY_NOT_REGISTERED
Deprecated.
This value has been added in CUDA 4.0 RC,
and removed in CUDA 4.0 RC2
|
static int |
CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE
This error indicates that ::cuCtxCreate was called with the flag
::CU_CTX_PRIMARY on a device which already has initialized its
primary context.
|
static int |
CUDA_ERROR_PROFILER_ALREADY_STARTED
Deprecated.
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call cuProfilerStart() when
profiling is already enabled.
|
static int |
CUDA_ERROR_PROFILER_ALREADY_STOPPED
Deprecated.
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call cuProfilerStop() when
profiling is already disabled.
|
static int |
CUDA_ERROR_PROFILER_DISABLED
This indicates profiling APIs are called while application is running
in visual profiler mode.
|
static int |
CUDA_ERROR_PROFILER_NOT_INITIALIZED
Deprecated.
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the
profiling via ::cuProfilerStart or ::cuProfilerStop without
initialization.
|
static int |
CUDA_ERROR_SHARED_OBJECT_INIT_FAILED
This indicates that initialization of a shared object failed.
|
static int |
CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND
This indicates that a link to a shared object failed to resolve.
|
static int |
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT
This error indicates a disallowed implicit dependency on a current capture
sequence from cudaStreamLegacy.
|
static int |
CUDA_ERROR_STREAM_CAPTURE_INVALIDATED
This error indicates that the current capture sequence on the stream
has been invalidated due to a previous error.
|
static int |
CUDA_ERROR_STREAM_CAPTURE_ISOLATION
This error indicates that a dependency would have been created which
crosses the capture sequence boundary.
|
static int |
CUDA_ERROR_STREAM_CAPTURE_MERGE
This error indicates that the operation would have resulted in a merge
of two independent capture sequences.
|
static int |
CUDA_ERROR_STREAM_CAPTURE_UNJOINED
This error indicates that the capture sequence contains a fork that was
not joined to the primary stream.
|
static int |
CUDA_ERROR_STREAM_CAPTURE_UNMATCHED
This error indicates that the capture was not initiated in this stream.
|
static int |
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED
This error indicates that the operation is not permitted when
the stream is capturing.
|
static int |
CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD
A stream capture sequence not initiated with the
::CU_STREAM_CAPTURE_MODE_RELAXED
argument to ::cuStreamBeginCapture was passed to ::cuStreamEndCapture
in a different thread.
|
static int |
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH
This error indicates that there is a mismatch between the versions of
the display driver and the CUDA driver.
|
static int |
CUDA_ERROR_SYSTEM_NOT_READY
This error indicates that the system is not yet ready to start any CUDA
work.
|
static int |
CUDA_ERROR_TIMEOUT
This error indicates that the timeout specified for the wait operation has lapsed.
|
static int |
CUDA_ERROR_TOO_MANY_PEERS
This error indicates that the hardware resources required to enable
peer access have been exhausted for one or more of the devices
passed to ::cuCtxEnablePeerAccess().
|
static int |
CUDA_ERROR_UNKNOWN
This indicates that an unknown internal error has occurred.
|
static int |
CUDA_ERROR_UNMAP_FAILED
This indicates that an unmap or unregister operation has failed.
|
static int |
CUDA_ERROR_UNSUPPORTED_LIMIT
This indicates that the ::CUlimit passed to the API call is not
supported by the active device.
|
static int |
CUDA_SUCCESS
The API call returned with no errors.
|
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int result)
Returns the String identifying the given CUresult
|
public static final int CUDA_SUCCESS
public static final int CUDA_ERROR_INVALID_VALUE
public static final int CUDA_ERROR_OUT_OF_MEMORY
public static final int CUDA_ERROR_NOT_INITIALIZED
public static final int CUDA_ERROR_DEINITIALIZED
public static final int CUDA_ERROR_PROFILER_DISABLED
public static final int CUDA_ERROR_PROFILER_NOT_INITIALIZED
public static final int CUDA_ERROR_PROFILER_ALREADY_STARTED
public static final int CUDA_ERROR_PROFILER_ALREADY_STOPPED
public static final int CUDA_ERROR_NO_DEVICE
public static final int CUDA_ERROR_INVALID_DEVICE
public static final int CUDA_ERROR_INVALID_IMAGE
public static final int CUDA_ERROR_INVALID_CONTEXT
public static final int CUDA_ERROR_CONTEXT_ALREADY_CURRENT
public static final int CUDA_ERROR_MAP_FAILED
public static final int CUDA_ERROR_UNMAP_FAILED
public static final int CUDA_ERROR_ARRAY_IS_MAPPED
public static final int CUDA_ERROR_ALREADY_MAPPED
public static final int CUDA_ERROR_NO_BINARY_FOR_GPU
public static final int CUDA_ERROR_ALREADY_ACQUIRED
public static final int CUDA_ERROR_NOT_MAPPED
public static final int CUDA_ERROR_NOT_MAPPED_AS_ARRAY
public static final int CUDA_ERROR_NOT_MAPPED_AS_POINTER
public static final int CUDA_ERROR_ECC_UNCORRECTABLE
public static final int CUDA_ERROR_UNSUPPORTED_LIMIT
public static final int CUDA_ERROR_CONTEXT_ALREADY_IN_USE
public static final int CUDA_ERROR_PEER_ACCESS_UNSUPPORTED
public static final int CUDA_ERROR_INVALID_PTX
public static final int CUDA_ERROR_INVALID_GRAPHICS_CONTEXT
public static final int CUDA_ERROR_NVLINK_UNCORRECTABLE
public static final int CUDA_ERROR_JIT_COMPILER_NOT_FOUND
public static final int CUDA_ERROR_INVALID_SOURCE
public static final int CUDA_ERROR_FILE_NOT_FOUND
public static final int CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND
public static final int CUDA_ERROR_SHARED_OBJECT_INIT_FAILED
public static final int CUDA_ERROR_OPERATING_SYSTEM
public static final int CUDA_ERROR_INVALID_HANDLE
public static final int CUDA_ERROR_ILLEGAL_STATE
public static final int CUDA_ERROR_NOT_FOUND
public static final int CUDA_ERROR_NOT_READY
public static final int CUDA_ERROR_ILLEGAL_ADDRESS
public static final int CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
public static final int CUDA_ERROR_LAUNCH_TIMEOUT
public static final int CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING
public static final int CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED
public static final int CUDA_ERROR_PEER_ACCESS_NOT_ENABLED
public static final int CUDA_ERROR_PEER_MEMORY_ALREADY_REGISTERED
public static final int CUDA_ERROR_PEER_MEMORY_NOT_REGISTERED
public static final int CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE
public static final int CUDA_ERROR_CONTEXT_IS_DESTROYED
public static final int CUDA_ERROR_ASSERT
public static final int CUDA_ERROR_TOO_MANY_PEERS
public static final int CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED
public static final int CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED
public static final int CUDA_ERROR_HARDWARE_STACK_ERROR
public static final int CUDA_ERROR_ILLEGAL_INSTRUCTION
public static final int CUDA_ERROR_MISALIGNED_ADDRESS
public static final int CUDA_ERROR_INVALID_ADDRESS_SPACE
public static final int CUDA_ERROR_INVALID_PC
public static final int CUDA_ERROR_LAUNCH_FAILED
public static final int CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE
public static final int CUDA_ERROR_NOT_PERMITTED
public static final int CUDA_ERROR_NOT_SUPPORTED
public static final int CUDA_ERROR_SYSTEM_NOT_READY
public static final int CUDA_ERROR_SYSTEM_DRIVER_MISMATCH
public static final int CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE
public static final int CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED
public static final int CUDA_ERROR_STREAM_CAPTURE_INVALIDATED
public static final int CUDA_ERROR_STREAM_CAPTURE_MERGE
public static final int CUDA_ERROR_STREAM_CAPTURE_UNMATCHED
public static final int CUDA_ERROR_STREAM_CAPTURE_UNJOINED
public static final int CUDA_ERROR_STREAM_CAPTURE_ISOLATION
public static final int CUDA_ERROR_STREAM_CAPTURE_IMPLICIT
public static final int CUDA_ERROR_CAPTURED_EVENT
public static final int CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD
public static final int CUDA_ERROR_TIMEOUT
public static final int CUDA_ERROR_GRAPH_EXEC_UPDATE_FAILURE
public static final int CUDA_ERROR_UNKNOWN
public static String stringFor(int result)
result
- The CUresult valueCopyright © 2020. All rights reserved.