- add(byte) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Appends a byte value to the list of parameter values.
- add(char) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Appends a character value to the list of parameter values.
- add(CudaBuffer) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Appends a buffer address to the list of parameter values.
- add(double) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Appends a double value to the list of parameter values.
- add(float) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Appends a float value to the list of parameter values.
- add(int) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Appends a integer value to the list of parameter values.
- add(long) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Appends a long value to the list of parameter values.
- add(short) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Appends a short value to the list of parameter values.
- add(CudaJitInputType, byte[], String) - Method in class com.ibm.cuda.CudaLinker
-
Adds a new code fragment to be linked into the module under construction
using the default options.
- add(CudaJitInputType, byte[], String, CudaJitOptions) - Method in class com.ibm.cuda.CudaLinker
-
Adds a new code fragment to be linked into the module under construction
using the specified options.
- add(CudaJitInputType, InputStream, String) - Method in class com.ibm.cuda.CudaLinker
-
Adds a new code fragment to be linked into the module under construction
using the default options.
- add(CudaJitInputType, InputStream, String, CudaJitOptions) - Method in class com.ibm.cuda.CudaLinker
-
Adds a new code fragment to be linked into the module under construction
using the default options.
- addCallback(Runnable) - Method in class com.ibm.cuda.CudaDevice
-
Queues the given callback
to be executed when the associated
device has completed all previous actions in the default stream.
- addCallback(Runnable) - Method in class com.ibm.cuda.CudaStream
-
Enqueues a callback to be run after all previous work on this stream
has been completed.
- allocatePinnedHostBuffer(long) - Static method in class com.ibm.cuda.Cuda
-
Allocates a new direct byte buffer, backed by page-locked host memory;
enabling optimal performance of transfers to and from device memory.
- Assert - Static variable in interface com.ibm.cuda.CudaError
-
An assert triggered in device code during kernel execution.
- atOffset(long) - Method in class com.ibm.cuda.CudaBuffer
-
Returns a sub-region of this buffer.
- ATTRIBUTE_ASYNC_ENGINE_COUNT - Static variable in class com.ibm.cuda.CudaDevice
-
Number of asynchronous engines.
- ATTRIBUTE_BINARY_VERSION - Static variable in class com.ibm.cuda.CudaFunction
-
The binary architecture version for which the function was compiled.
- ATTRIBUTE_CAN_MAP_HOST_MEMORY - Static variable in class com.ibm.cuda.CudaDevice
-
Device can map host memory into CUDA address space.
- ATTRIBUTE_CLOCK_RATE - Static variable in class com.ibm.cuda.CudaDevice
-
Typical clock frequency in kilohertz.
- ATTRIBUTE_COMPUTE_CAPABILITY - Static variable in class com.ibm.cuda.CudaDevice
-
Compute capability version number.
- ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Static variable in class com.ibm.cuda.CudaDevice
-
Major compute capability version number.
- ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Static variable in class com.ibm.cuda.CudaDevice
-
Minor compute capability version number.
- ATTRIBUTE_COMPUTE_MODE - Static variable in class com.ibm.cuda.CudaDevice
-
Compute mode (see COMPUTE_MODE_XXX for details).
- ATTRIBUTE_CONCURRENT_KERNELS - Static variable in class com.ibm.cuda.CudaDevice
-
Device can possibly execute multiple kernels concurrently.
- ATTRIBUTE_CONST_SIZE_BYTES - Static variable in class com.ibm.cuda.CudaFunction
-
The size in bytes of user-allocated constant memory required by this
function.
- ATTRIBUTE_ECC_ENABLED - Static variable in class com.ibm.cuda.CudaDevice
-
Device has ECC support enabled.
- ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Global memory bus width in bits.
- ATTRIBUTE_INTEGRATED - Static variable in class com.ibm.cuda.CudaDevice
-
Device is integrated with host memory.
- ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Static variable in class com.ibm.cuda.CudaDevice
-
Specifies whether there is a run time limit on kernels.
- ATTRIBUTE_L2_CACHE_SIZE - Static variable in class com.ibm.cuda.CudaDevice
-
Size of L2 cache in bytes.
- ATTRIBUTE_LOCAL_SIZE_BYTES - Static variable in class com.ibm.cuda.CudaFunction
-
The size in bytes of local memory used by each thread of this function.
- ATTRIBUTE_MAX_BLOCK_DIM_X - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum block dimension X.
- ATTRIBUTE_MAX_BLOCK_DIM_Y - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum block dimension Y.
- ATTRIBUTE_MAX_BLOCK_DIM_Z - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum block dimension Z.
- ATTRIBUTE_MAX_GRID_DIM_X - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum grid dimension X.
- ATTRIBUTE_MAX_GRID_DIM_Y - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum grid dimension Y.
- ATTRIBUTE_MAX_GRID_DIM_Z - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum grid dimension Z.
- ATTRIBUTE_MAX_PITCH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum pitch in bytes allowed by memory copies.
- ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum number of 32-bit registers available per block.
- ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum shared memory available per block in bytes.
- ATTRIBUTE_MAX_THREADS_PER_BLOCK - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum number of threads per block.
- ATTRIBUTE_MAX_THREADS_PER_BLOCK - Static variable in class com.ibm.cuda.CudaFunction
-
The maximum number of threads per block, beyond which a launch of the
function would fail.
- ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum resident threads per multiprocessor.
- ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum layers in a 1D layered surface.
- ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 1D layered surface width.
- ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 1D surface width.
- ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D surface height.
- ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D layered surface height.
- ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum layers in a 2D layered surface.
- ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D layered surface width.
- ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D surface width.
- ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 3D surface depth.
- ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 3D surface height.
- ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 3D surface width.
- ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum layers in a cubemap layered surface.
- ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum cubemap layered surface width.
- ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum cubemap surface width.
- ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum layers in a 1D layered texture.
- ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 1D layered texture width.
- ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 1D linear texture width.
- ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum mipmapped 1D texture width.
- ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 1D texture width.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is set.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is set.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D texture height.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D layered texture height.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum layers in a 2D layered texture.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D layered texture width.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D linear texture height.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D linear texture pitch in bytes.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D linear texture width.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum mipmapped 2D texture height.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum mipmapped 2D texture width.
- ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 2D texture width.
- ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 3D texture depth.
- ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Static variable in class com.ibm.cuda.CudaDevice
-
Alternate maximum 3D texture depth.
- ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 3D texture height.
- ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Static variable in class com.ibm.cuda.CudaDevice
-
Alternate maximum 3D texture height.
- ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum 3D texture width.
- ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Static variable in class com.ibm.cuda.CudaDevice
-
Alternate maximum 3D texture width.
- ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum layers in a cubemap layered texture.
- ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum cubemap layered texture width/height.
- ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Static variable in class com.ibm.cuda.CudaDevice
-
Maximum cubemap texture width/height.
- ATTRIBUTE_MEMORY_CLOCK_RATE - Static variable in class com.ibm.cuda.CudaDevice
-
Peak memory clock frequency in kilohertz.
- ATTRIBUTE_MULTIPROCESSOR_COUNT - Static variable in class com.ibm.cuda.CudaDevice
-
Number of multiprocessors on device.
- ATTRIBUTE_NUM_REGS - Static variable in class com.ibm.cuda.CudaFunction
-
The number of registers used by each thread of this function.
- ATTRIBUTE_PCI_BUS_ID - Static variable in class com.ibm.cuda.CudaDevice
-
PCI bus ID of the device.
- ATTRIBUTE_PCI_DEVICE_ID - Static variable in class com.ibm.cuda.CudaDevice
-
PCI device ID of the device.
- ATTRIBUTE_PCI_DOMAIN_ID - Static variable in class com.ibm.cuda.CudaDevice
-
PCI domain ID of the device.
- ATTRIBUTE_PTX_VERSION - Static variable in class com.ibm.cuda.CudaFunction
-
The PTX virtual architecture version for which the function was
compiled.
- ATTRIBUTE_SHARED_SIZE_BYTES - Static variable in class com.ibm.cuda.CudaFunction
-
The size in bytes of statically-allocated shared memory required by
this function.
- ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Static variable in class com.ibm.cuda.CudaDevice
-
Device supports stream priorities.
- ATTRIBUTE_SURFACE_ALIGNMENT - Static variable in class com.ibm.cuda.CudaDevice
-
Alignment requirement for surfaces.
- ATTRIBUTE_TCC_DRIVER - Static variable in class com.ibm.cuda.CudaDevice
-
Device is using TCC driver model.
- ATTRIBUTE_TEXTURE_ALIGNMENT - Static variable in class com.ibm.cuda.CudaDevice
-
Alignment requirement for textures.
- ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Static variable in class com.ibm.cuda.CudaDevice
-
Pitch alignment requirement for textures.
- ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Static variable in class com.ibm.cuda.CudaDevice
-
Memory available on device for __constant__ variables in a kernel in bytes.
- ATTRIBUTE_UNIFIED_ADDRESSING - Static variable in class com.ibm.cuda.CudaDevice
-
Device shares a unified address space with the host.
- ATTRIBUTE_WARP_SIZE - Static variable in class com.ibm.cuda.CudaDevice
-
Warp size in threads.
- Cache() - Constructor for class com.ibm.cuda.CudaModule.Cache
-
Creates a new cache.
- canAccessPeer(CudaDevice) - Method in class com.ibm.cuda.CudaDevice
-
Returns whether this device can access memory of the specified
peerDevice
.
- clone() - Method in class com.ibm.cuda.CudaJitOptions
-
Creates a new options object with the same state as this object.
- clone() - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Creates a copy of this parameter block.
- close() - Method in class com.ibm.cuda.CudaBuffer
-
Releases the region of device memory backing this buffer.
- close() - Method in class com.ibm.cuda.CudaEvent
-
Releases resources associated with this event.
- close() - Method in class com.ibm.cuda.CudaStream
-
Closes this stream.
- code - Variable in exception com.ibm.cuda.CudaException
-
- com.ibm.cuda - package com.ibm.cuda
-
This package enables access to CUDA-capable devices from Java.
- complete() - Method in class com.ibm.cuda.CudaLinker
-
Completes the module under construction and return an image suitable
for loading.
- COMPUTE_MODE_DEFAULT - Static variable in class com.ibm.cuda.CudaDevice
-
Default compute mode (multiple contexts allowed per device).
- COMPUTE_MODE_PROCESS_EXCLUSIVE - Static variable in class com.ibm.cuda.CudaDevice
-
Compute exclusive process mode (at most one context used by a single process
can be present on this device at a time).
- COMPUTE_MODE_PROHIBITED - Static variable in class com.ibm.cuda.CudaDevice
-
Compute prohibited mode (no contexts can be created on this device at this time).
- COMPUTE_MODE_THREAD_EXCLUSIVE - Static variable in class com.ibm.cuda.CudaDevice
-
Exclusive thread mode (at most one context, used by a single thread,
can be present on this device at a time).
- copyFrom(byte[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
- copyFrom(byte[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
- copyFrom(ByteBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
- copyFrom(char[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
- copyFrom(char[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
- copyFrom(CharBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
- copyFrom(CudaBuffer, long, long) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified source
buffer (on a device)
to this buffer (on the device).
- copyFrom(double[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
- copyFrom(double[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
- copyFrom(DoubleBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
- copyFrom(float[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
- copyFrom(float[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
- copyFrom(FloatBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
- copyFrom(int[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
- copyFrom(int[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
- copyFrom(IntBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
- copyFrom(long[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
- copyFrom(long[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
- copyFrom(LongBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
- copyFrom(short[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
- copyFrom(short[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
- copyFrom(ShortBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
- copyTo(byte[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(byte[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(ByteBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
- copyTo(char[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(char[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(CharBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
- copyTo(double[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(double[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(DoubleBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
- copyTo(float[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(float[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(FloatBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
- copyTo(int[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(int[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(IntBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
- copyTo(long[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(long[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(LongBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
- copyTo(short[]) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(short[], int, int) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
- copyTo(ShortBuffer) - Method in class com.ibm.cuda.CudaBuffer
-
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
- Cuda - Class in com.ibm.cuda
-
The Cuda
class provides general CUDA utilities.
- CudaBuffer - Class in com.ibm.cuda
-
The CudaBuffer
class represents a region of memory on a specific
device.
- CudaBuffer(CudaDevice, long) - Constructor for class com.ibm.cuda.CudaBuffer
-
Allocates a new region on the specified device
of size byteCount
bytes.
- CudaDevice - Class in com.ibm.cuda
-
The CudaDevice
class represents a CUDA-capable device.
- CudaDevice(int) - Constructor for class com.ibm.cuda.CudaDevice
-
Creates a device handle corresponding to deviceId
.
- CudaDevice.CacheConfig - Enum in com.ibm.cuda
-
CacheConfig
identifies the cache configuration choices for
a device.
- CudaDevice.Limit - Enum in com.ibm.cuda
-
Limit
identifies device limits that may be queried or configured.
- CudaDevice.SharedMemConfig - Enum in com.ibm.cuda
-
- CudaError - Interface in com.ibm.cuda
-
- CudaEvent - Class in com.ibm.cuda
-
The CudaEvent
class represents an event that can be queued in a
stream on a CUDA-capable device.
- CudaEvent(CudaDevice) - Constructor for class com.ibm.cuda.CudaEvent
-
Creates a new event on the specified device with default flags.
- CudaEvent(CudaDevice, int) - Constructor for class com.ibm.cuda.CudaEvent
-
Creates a new event on the specified device with the specified flags
.
- CudaException - Exception in com.ibm.cuda
-
The CudaException
class represents an unusual or unexpected response
from a CUDA-capable device.
- CudaException(int) - Constructor for exception com.ibm.cuda.CudaException
-
Creates a new exception object.
- CudaFunction - Class in com.ibm.cuda
-
The CudaFunction
class represents a kernel entry point found in
a specific CudaModule
loaded on a CUDA-capable device.
- CudaGlobal - Class in com.ibm.cuda
-
The CudaGlobal
class represents a global variable found in
a specific CudaModule
loaded on a CUDA-capable device.
- CudaGrid - Class in com.ibm.cuda
-
The CudaGrid
class represents a kernel launch configuration.
- CudaGrid(Dim3, Dim3) - Constructor for class com.ibm.cuda.CudaGrid
-
Creates a grid with the specified dimensions, with no shared memory
on the default stream.
- CudaGrid(Dim3, Dim3, CudaStream) - Constructor for class com.ibm.cuda.CudaGrid
-
Creates a grid with the specified dimensions with no shared memory
on the specified stream.
- CudaGrid(Dim3, Dim3, int) - Constructor for class com.ibm.cuda.CudaGrid
-
Creates a grid with the specified dimensions and shared memory size
on the default stream.
- CudaGrid(Dim3, Dim3, int, CudaStream) - Constructor for class com.ibm.cuda.CudaGrid
-
Creates a grid with the specified dimensions and shared memory size
on the specified stream.
- CudaGrid(int, int) - Constructor for class com.ibm.cuda.CudaGrid
-
Creates a grid with the specified x dimensions with no shared memory
on the default stream.
- CudaGrid(int, int, CudaStream) - Constructor for class com.ibm.cuda.CudaGrid
-
Creates a grid with the specified x dimensions with no shared memory
on the specified stream.
- CudaGrid(int, int, int) - Constructor for class com.ibm.cuda.CudaGrid
-
Creates a grid with the specified x dimensions and shared memory size
on the default stream.
- CudaGrid(int, int, int, CudaStream) - Constructor for class com.ibm.cuda.CudaGrid
-
Creates a grid with the specified x dimensions and shared memory size
on the specified stream.
- CudaJitInputType - Enum in com.ibm.cuda
-
CudaJitInputType
identifies the type of input being provided to
CudaLinker#add(...)
.
- CudaJitOptions - Class in com.ibm.cuda
-
The CudaJitOptions
class represents a set of options that influence
the behavior of linking and loading modules.
- CudaJitOptions() - Constructor for class com.ibm.cuda.CudaJitOptions
-
Creates a new options object.
- CudaJitOptions.CacheMode - Enum in com.ibm.cuda
-
CacheMode
identifies the cache management choices.
- CudaJitOptions.Fallback - Enum in com.ibm.cuda
-
Fallback
identifies the available fall-back strategies
when an exactly matching object is not available.
- CudaJitTarget - Enum in com.ibm.cuda
-
CudaJitTarget
identifies the target compute device class
for linking and loading modules.
- CudaKernel - Class in com.ibm.cuda
-
- CudaKernel(CudaModule, CudaFunction) - Constructor for class com.ibm.cuda.CudaKernel
-
Creates a new kernel object in the given module whose entry point
is the specified function.
- CudaKernel(CudaModule, String) - Constructor for class com.ibm.cuda.CudaKernel
-
Creates a new kernel object in the given module whose entry point
is the function with the specified name.
- CudaKernel.Parameters - Class in com.ibm.cuda
-
The
Parameters
class represents the actual parameters in
a
kernel
launch.
- CudaLinker - Class in com.ibm.cuda
-
The CudaLinker
class supports combining one or more code fragments
to form a module that can be then loaded on a CUDA-capable device.
- CudaLinker(CudaDevice) - Constructor for class com.ibm.cuda.CudaLinker
-
Creates a new linker for the specified device
using default options.
- CudaLinker(CudaDevice, CudaJitOptions) - Constructor for class com.ibm.cuda.CudaLinker
-
Creates a new linker for the specified device
using the specified options
.
- CudaModule - Class in com.ibm.cuda
-
The CudaModule
class represents a module that has been loaded
on a CUDA-capable device.
- CudaModule(CudaDevice, byte[]) - Constructor for class com.ibm.cuda.CudaModule
-
Loads a module on the specified device, using the given image and the
default options.
- CudaModule(CudaDevice, byte[], CudaJitOptions) - Constructor for class com.ibm.cuda.CudaModule
-
Loads a module on the specified device, using the given image and the
given options.
- CudaModule(CudaDevice, InputStream) - Constructor for class com.ibm.cuda.CudaModule
-
Loads a module on the specified device from the given input stream using
the default options.
- CudaModule(CudaDevice, InputStream, CudaJitOptions) - Constructor for class com.ibm.cuda.CudaModule
-
Loads a module on the specified device from the given input stream using
the specified options.
- CudaModule.Cache - Class in com.ibm.cuda
-
The Cache
class provides a simple mechanism to avoid reloading
modules repeatedly.
- CudaPermission - Class in com.ibm.cuda
-
This class defines CUDA permissions as described in the following table.
- CudaPermission(String) - Constructor for class com.ibm.cuda.CudaPermission
-
Create a representation of the named permissions.
- CudaPermission(String, String) - Constructor for class com.ibm.cuda.CudaPermission
-
Create a representation of the named permissions.
- CudartUnloading - Static variable in interface com.ibm.cuda.CudaError
-
This indicates that a CUDA Runtime API call cannot be executed because
it is being called during process shut down, at a point in time after
CUDA driver has been unloaded.
- CudaStream - Class in com.ibm.cuda
-
The
CudaStream
class represents an independent queue of work for a
specific
CudaDevice
.
- CudaStream(CudaDevice) - Constructor for class com.ibm.cuda.CudaStream
-
Creates a new stream on the specified device, with the default flags
and the default priority.
- CudaStream(CudaDevice, int, int) - Constructor for class com.ibm.cuda.CudaStream
-
Creates a new stream on the specified device, with the specified flags
and priority.
- CudaSurface - Class in com.ibm.cuda
-
The CudaSurface
class represents a surface object found in
a specific CudaModule
loaded on a CUDA-capable device.
- CudaTexture - Class in com.ibm.cuda
-
The CudaTexture
class represents a texture object found in
a specific CudaModule
loaded on a CUDA-capable device.
- get(CudaDevice, Object) - Method in class com.ibm.cuda.CudaModule.Cache
-
Retrieves an existing module for the specified device and key.
- getAttribute(int) - Method in class com.ibm.cuda.CudaDevice
-
Returns the value of the specified attribute
.
- getAttribute(int) - Method in class com.ibm.cuda.CudaFunction
-
Returns the value of the specified @{code attribute}.
- getAttribute(int) - Method in class com.ibm.cuda.CudaKernel
-
Returns the value of the specified @{code attribute} for the
function
associated with this kernel.
- getCacheConfig() - Method in class com.ibm.cuda.CudaDevice
-
Returns the current cache configuration of this device.
- getCount() - Static method in class com.ibm.cuda.CudaDevice
-
Returns the number of CUDA-capable devices available to the Java host.
- getDeviceCount() - Static method in class com.ibm.cuda.Cuda
-
Returns the number of CUDA-capable devices available to the Java host.
- getDeviceId() - Method in class com.ibm.cuda.CudaDevice
-
Returns an integer identifying this device (the value provided when
this object was constructed).
- getDriverVersion() - Static method in class com.ibm.cuda.Cuda
-
Returns a number identifying the driver version.
- getDriverVersion() - Static method in class com.ibm.cuda.CudaDevice
-
- getErrorLogBuffer() - Method in class com.ibm.cuda.CudaJitOptions
-
Returns the contents of the error log.
- getErrorLogBuffer() - Method in class com.ibm.cuda.CudaLinker
-
Returns the contents of the error log.
- getFlags() - Method in class com.ibm.cuda.CudaStream
-
Returns the flags of this stream.
- getFreeMemory() - Method in class com.ibm.cuda.CudaDevice
-
Returns the amount of free device memory in bytes.
- getFunction(String) - Method in class com.ibm.cuda.CudaModule
-
Returns the function of the specified name from this module.
- getGlobal(String) - Method in class com.ibm.cuda.CudaModule
-
Returns the global variable of the specified name from this module.
- getGreatestStreamPriority() - Method in class com.ibm.cuda.CudaDevice
-
Returns the greatest possible priority of a stream on this device.
- getInfoLogBuffer() - Method in class com.ibm.cuda.CudaJitOptions
-
Returns the contents of the information log.
- getInfoLogBuffer() - Method in class com.ibm.cuda.CudaLinker
-
Returns the contents of the information log.
- getLeastStreamPriority() - Method in class com.ibm.cuda.CudaDevice
-
Returns the least possible priority of a stream on this device.
- getLength() - Method in class com.ibm.cuda.CudaBuffer
-
Returns the length in bytes of this buffer.
- getLimit(CudaDevice.Limit) - Method in class com.ibm.cuda.CudaDevice
-
Returns the value of the specified limit
.
- getMessage() - Method in exception com.ibm.cuda.CudaException
-
Returns a human-readable string describing the problem represented
by this exception.
- getName() - Method in class com.ibm.cuda.CudaDevice
-
Returns the name of this device.
- getPriority() - Method in class com.ibm.cuda.CudaStream
-
Returns the priority of this stream.
- getRuntimeVersion() - Static method in class com.ibm.cuda.Cuda
-
Returns a number identifying the runtime version.
- getRuntimeVersion() - Static method in class com.ibm.cuda.CudaDevice
-
- getSharedMemConfig() - Method in class com.ibm.cuda.CudaDevice
-
Returns the current shared memory configuration of this device.
- getSurface(String) - Method in class com.ibm.cuda.CudaModule
-
Returns the surface of the specified name from this module.
- getTexture(String) - Method in class com.ibm.cuda.CudaModule
-
Returns the texture of the specified name from this module.
- getThreadsPerBlock() - Method in class com.ibm.cuda.CudaJitOptions
-
Returns the maximum number of threads per block.
- getTotalMemory() - Method in class com.ibm.cuda.CudaDevice
-
Returns the total amount of memory on this device in bytes.
- getWallTime() - Method in class com.ibm.cuda.CudaJitOptions
-
Returns the total elapsed time, in milliseconds,
spent in the compiler and linker.
- getWallTime() - Method in class com.ibm.cuda.CudaLinker
-
Answers the total elapsed time, in milliseconds,
spent in the compiler and linker.
- gridDimX - Variable in class com.ibm.cuda.CudaGrid
-
The size of the grid in the x dimension.
- gridDimY - Variable in class com.ibm.cuda.CudaGrid
-
The size of the grid in the y dimension.
- gridDimZ - Variable in class com.ibm.cuda.CudaGrid
-
The size of the grid in the z dimension.
- set(int, byte) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Replaces the parameter at the specified index with the given byte value.
- set(int, char) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Replaces the parameter at the specified index with the given character value.
- set(int, CudaBuffer) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Replaces the parameter at the specified index with the given buffer address.
- set(int, double) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Replaces the parameter at the specified index with the given double value.
- set(int, float) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Replaces the parameter at the specified index with the given float value.
- set(int, int) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Replaces the parameter at the specified index with the given int value.
- set(int, long) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Replaces the parameter at the specified index with the given long value.
- set(int, short) - Method in class com.ibm.cuda.CudaKernel.Parameters
-
Replaces the parameter at the specified index with a short value.
- setCacheConfig(CudaDevice.CacheConfig) - Method in class com.ibm.cuda.CudaDevice
-
Configures the cache of this device.
- setCacheConfig(CudaDevice.CacheConfig) - Method in class com.ibm.cuda.CudaFunction
-
Configures the cache for this function.
- setCacheConfig(CudaDevice.CacheConfig) - Method in class com.ibm.cuda.CudaKernel
-
Configures the cache for the
function
associated
with this kernel.
- setCacheMode(CudaJitOptions.CacheMode) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies the desired caching behavior (-dlcm).
- setErrorLogBufferSize(int) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies the size, in bytes, to allocate for capturing error messages.
- setGenerateDebugInfo(boolean) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies whether to generate debug information.
- setGenerateLineInfo(boolean) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies whether to generate line number information.
- setInfoLogBufferSize(int) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies the size, in bytes, to allocate for capturing informational
messages.
- setJitFallbackStrategy(CudaJitOptions.Fallback) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies the fallback strategy if an exactly matching
binary object cannot be found.
- setLimit(CudaDevice.Limit, long) - Method in class com.ibm.cuda.CudaDevice
-
Configures the specified limit
.
- setLogVerbose(boolean) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies whether to generate verbose log messages.
- setMaxRegisters(int) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies the maximum number of registers that a thread may use.
- SetOnActiveProcess - Static variable in interface com.ibm.cuda.CudaError
-
This indicates that the user has called ::cudaSetValidDevices(),
::cudaSetDeviceFlags(), ::cudaD3D9SetDirect3DDevice(),
::cudaD3D10SetDirect3DDevice, ::cudaD3D11SetDirect3DDevice(), or
::cudaVDPAUSetVDPAUDevice() after initializing the CUDA runtime by
calling non-device management operations (allocating memory and
launching kernels are examples of non-device management operations).
- setOptimizationLevel(int) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies the level of optimization to be applied to generated code
(0 - 4), with 4 being the default and highest level of optimization.
- setSharedMemConfig(CudaDevice.SharedMemConfig) - Method in class com.ibm.cuda.CudaDevice
-
Configures the shared memory of this device.
- setSharedMemConfig(CudaDevice.SharedMemConfig) - Method in class com.ibm.cuda.CudaFunction
-
Configures the shared memory of this function.
- setSharedMemConfig(CudaDevice.SharedMemConfig) - Method in class com.ibm.cuda.CudaKernel
-
Configures the shared memory of the
function
associated with this kernel.
- setTarget(CudaJitTarget) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies the desired compute target.
- setTargetFromCuContext() - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies that the target should be determined based on the current
attached context.
- setThreadsPerBlock(int) - Method in class com.ibm.cuda.CudaJitOptions
-
Specifies the minimum number of threads per block for compilation.
- sharedMemBytes - Variable in class com.ibm.cuda.CudaGrid
-
The number of bytes of shared memory to allocate to each thread block.
- SharedObjectInitFailed - Static variable in interface com.ibm.cuda.CudaError
-
This indicates that initialization of a shared object failed.
- SharedObjectSymbolNotFound - Static variable in interface com.ibm.cuda.CudaError
-
This indicates that a link to a shared object failed to resolve.
- slice(long, long) - Method in class com.ibm.cuda.CudaBuffer
-
Returns a sub-region of this buffer.
- StartupFailure - Static variable in interface com.ibm.cuda.CudaError
-
This indicates an internal startup failure in the CUDA runtime.
- stream - Variable in class com.ibm.cuda.CudaGrid
-
The stream on which the kernel should be queued
(or null for the default stream).
- Success - Static variable in interface com.ibm.cuda.CudaError
-
The API call returned with no errors.
- SyncDepthExceeded - Static variable in interface com.ibm.cuda.CudaError
-
This error indicates that a call to ::cudaDeviceSynchronize made from
the device runtime failed because the call was made at grid depth greater
than either the default (2 levels of grids) or user specified device
limit ::cudaLimitDevRuntimeSyncDepth.
- synchronize() - Method in class com.ibm.cuda.CudaDevice
-
Synchronizes on this device.
- synchronize() - Method in class com.ibm.cuda.CudaEvent
-
Synchronizes on this event.
- synchronize() - Method in class com.ibm.cuda.CudaStream
-
Synchronizes with this stream.