Adds a new code fragment to be linked into the module under construction
using the default options.
Adds a new code fragment to be linked into the module under construction
using the specified options.
Adds a new code fragment to be linked into the module under construction
using the default options.
Adds a new code fragment to be linked into the module under construction
using the default options.
void
Queues the given callback
to be executed when the associated
device has completed all previous actions in the default stream.
void
Enqueues a callback to be run after all previous work on this stream
has been completed.
Allocates a new direct byte buffer, backed by page-locked host memory;
enabling optimal performance of transfers to and from device memory.
boolean
Returns whether this device can access memory of the specified
peerDevice
.
void
Releases the region of device memory backing this buffer.
void
Releases resources associated with this event.
void
byte[]
Completes the module under construction and return an image suitable
for loading.
void
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
void
CudaBuffer.copyFrom(byte[] array,
int fromIndex,
int toIndex)
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
void
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
void
CudaBuffer.copyFrom(char[] array,
int fromIndex,
int toIndex)
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
void
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
void
CudaBuffer.copyFrom(double[] array,
int fromIndex,
int toIndex)
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
void
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
void
CudaBuffer.copyFrom(float[] array,
int fromIndex,
int toIndex)
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
void
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
void
CudaBuffer.copyFrom(int[] array,
int fromIndex,
int toIndex)
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
void
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
void
CudaBuffer.copyFrom(long[] array,
int fromIndex,
int toIndex)
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
void
Copies all data from the specified array
(on the Java host) to
this buffer (on the device).
void
CudaBuffer.copyFrom(short[] array,
int fromIndex,
int toIndex)
Copies data from the specified array
(on the Java host) to this
buffer (on the device).
void
Copies data from the specified source
buffer (on a device)
to this buffer (on the device).
void
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
void
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
void
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
void
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
void
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
void
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
void
Copies data from the specified source
buffer (on the Java host)
to this buffer (on the device).
void
CudaBuffer.copyTo(byte[] array)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(byte[] array,
int fromIndex,
int toIndex)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(char[] array)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(char[] array,
int fromIndex,
int toIndex)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(double[] array)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(double[] array,
int fromIndex,
int toIndex)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(float[] array)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(float[] array,
int fromIndex,
int toIndex)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(int[] array)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(int[] array,
int fromIndex,
int toIndex)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(long[] array)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(long[] array,
int fromIndex,
int toIndex)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(short[] array)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
CudaBuffer.copyTo(short[] array,
int fromIndex,
int toIndex)
Copies data from this buffer (on the device) to the specified
array
(on the Java host).
void
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
void
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
void
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
void
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
void
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
void
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
void
Copies data from this buffer (on the device) to the specified
target
buffer (on the Java host).
void
Destroys this linker, releasing associated resources.
void
Disable access to memory of peerDevice
by this device.
float
Returns the elapsed time (in milliseconds) relative to the specified
priorEvent
.
void
Enable access to memory of peerDevice
by this device.
void
CudaBuffer.fillByte(byte value,
long count)
Stores count
copies of value
in this buffer.
void
CudaBuffer.fillChar(char value,
long count)
Stores count
copies of value
in this buffer.
void
CudaBuffer.fillFloat(float value,
long count)
Stores count
copies of value
in this buffer.
void
CudaBuffer.fillInt(int value,
long count)
Stores count
copies of value
in this buffer.
void
CudaBuffer.fillShort(short value,
long count)
Stores count
copies of value
in this buffer.
int
Returns the value of the specified attribute
.
int
Returns the value of the specified @{code attribute}.
final int
Returns the value of the specified @{code attribute} for the
function
associated with this kernel.
Returns the current cache configuration of this device.
static int
Returns the number of CUDA-capable devices available to the Java host.
static int
Returns the number of CUDA-capable devices available to the Java host.
static int
Returns a number identifying the driver version.
static int
int
Returns the flags of this stream.
long
Returns the amount of free device memory in bytes.
Returns the function of the specified name from this module.
Returns the global variable of the specified name from this module.
int
Returns the greatest possible priority of a stream on this device.
int
Returns the least possible priority of a stream on this device.
long
Returns the value of the specified limit
.
Returns the name of this device.
int
Returns the priority of this stream.
static int
Returns a number identifying the runtime version.
static int
Returns the current shared memory configuration of this device.
Returns the surface of the specified name from this module.
Returns the texture of the specified name from this module.
long
Returns the total amount of memory on this device in bytes.
final void
final void
void
Records this event on the default stream of the specified device.
void
Records this event on the specified stream.
void
Configures the cache of this device.
void
Configures the cache for this function.
final void
Configures the cache for the
function
associated
with this kernel.
void
Configures the specified limit
.
void
Configures the shared memory of this device.
void
Configures the shared memory of this function.
final void
Configures the shared memory of the
function
associated with this kernel.
void
Synchronizes on this device.
void
Synchronizes on this event.
void
Synchronizes with this stream.
void
Unloads this module from the associated device.
void
Makes all future work submitted to this stream wait for the specified
event to occur.