Uses of Class
com.ibm.cuda.CudaException
Packages that use CudaException
-
Uses of CudaException in com.ibm.cuda
Methods in com.ibm.cuda that throw CudaExceptionModifier and TypeMethodDescriptionCudaLinker.add(CudaJitInputType type, byte[] data, String name) Adds a new code fragment to be linked into the module under construction using the default options.CudaLinker.add(CudaJitInputType type, byte[] data, String name, CudaJitOptions options) Adds a new code fragment to be linked into the module under construction using the specified options.CudaLinker.add(CudaJitInputType type, InputStream input, String name) Adds a new code fragment to be linked into the module under construction using the default options.CudaLinker.add(CudaJitInputType type, InputStream input, String name, CudaJitOptions options) Adds a new code fragment to be linked into the module under construction using the default options.voidCudaDevice.addCallback(Runnable callback) Queues the givencallbackto be executed when the associated device has completed all previous actions in the default stream.voidCudaStream.addCallback(Runnable callback) Enqueues a callback to be run after all previous work on this stream has been completed.static ByteBufferCuda.allocatePinnedHostBuffer(long capacity) Allocates a new direct byte buffer, backed by page-locked host memory; enabling optimal performance of transfers to and from device memory.booleanCudaDevice.canAccessPeer(CudaDevice peerDevice) Returns whether this device can access memory of the specifiedpeerDevice.voidCudaBuffer.close()Releases the region of device memory backing this buffer.voidCudaEvent.close()Releases resources associated with this event.voidCudaStream.close()Closes this stream.byte[]CudaLinker.complete()Completes the module under construction and return an image suitable for loading.voidCudaBuffer.copyFrom(byte[] array) Copies all data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(byte[] array, int fromIndex, int toIndex) Copies data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(char[] array) Copies all data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(char[] array, int fromIndex, int toIndex) Copies data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(double[] array) Copies all data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(double[] array, int fromIndex, int toIndex) Copies data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(float[] array) Copies all data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(float[] array, int fromIndex, int toIndex) Copies data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(int[] array) Copies all data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(int[] array, int fromIndex, int toIndex) Copies data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(long[] array) Copies all data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(long[] array, int fromIndex, int toIndex) Copies data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(short[] array) Copies all data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(short[] array, int fromIndex, int toIndex) Copies data from the specifiedarray(on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(CudaBuffer source, long fromOffset, long toOffset) Copies data from the specifiedsourcebuffer (on a device) to this buffer (on the device).voidCudaBuffer.copyFrom(ByteBuffer source) Copies data from the specifiedsourcebuffer (on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(CharBuffer source) Copies data from the specifiedsourcebuffer (on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(DoubleBuffer source) Copies data from the specifiedsourcebuffer (on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(FloatBuffer source) Copies data from the specifiedsourcebuffer (on the Java host) to this buffer (on the device).voidCopies data from the specifiedsourcebuffer (on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(LongBuffer source) Copies data from the specifiedsourcebuffer (on the Java host) to this buffer (on the device).voidCudaBuffer.copyFrom(ShortBuffer source) Copies data from the specifiedsourcebuffer (on the Java host) to this buffer (on the device).voidCudaBuffer.copyTo(byte[] array) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(byte[] array, int fromIndex, int toIndex) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(char[] array) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(char[] array, int fromIndex, int toIndex) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(double[] array) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(double[] array, int fromIndex, int toIndex) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(float[] array) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(float[] array, int fromIndex, int toIndex) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(int[] array) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(int[] array, int fromIndex, int toIndex) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(long[] array) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(long[] array, int fromIndex, int toIndex) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(short[] array) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(short[] array, int fromIndex, int toIndex) Copies data from this buffer (on the device) to the specifiedarray(on the Java host).voidCudaBuffer.copyTo(ByteBuffer target) Copies data from this buffer (on the device) to the specifiedtargetbuffer (on the Java host).voidCudaBuffer.copyTo(CharBuffer target) Copies data from this buffer (on the device) to the specifiedtargetbuffer (on the Java host).voidCudaBuffer.copyTo(DoubleBuffer target) Copies data from this buffer (on the device) to the specifiedtargetbuffer (on the Java host).voidCudaBuffer.copyTo(FloatBuffer target) Copies data from this buffer (on the device) to the specifiedtargetbuffer (on the Java host).voidCopies data from this buffer (on the device) to the specifiedtargetbuffer (on the Java host).voidCudaBuffer.copyTo(LongBuffer target) Copies data from this buffer (on the device) to the specifiedtargetbuffer (on the Java host).voidCudaBuffer.copyTo(ShortBuffer target) Copies data from this buffer (on the device) to the specifiedtargetbuffer (on the Java host).voidCudaLinker.destroy()Destroys this linker, releasing associated resources.voidCudaDevice.disablePeerAccess(CudaDevice peerDevice) Disable access to memory ofpeerDeviceby this device.floatCudaEvent.elapsedTimeSince(CudaEvent priorEvent) Returns the elapsed time (in milliseconds) relative to the specifiedpriorEvent.voidCudaDevice.enablePeerAccess(CudaDevice peerDevice) Enable access to memory ofpeerDeviceby this device.voidCudaBuffer.fillByte(byte value, long count) Storescountcopies ofvaluein this buffer.voidCudaBuffer.fillChar(char value, long count) Storescountcopies ofvaluein this buffer.voidCudaBuffer.fillFloat(float value, long count) Storescountcopies ofvaluein this buffer.voidCudaBuffer.fillInt(int value, long count) Storescountcopies ofvaluein this buffer.voidCudaBuffer.fillShort(short value, long count) Storescountcopies ofvaluein this buffer.intCudaDevice.getAttribute(int attribute) Returns the value of the specifiedattribute.intCudaFunction.getAttribute(int attribute) Returns the value of the specified @{code attribute}.final intCudaKernel.getAttribute(int attribute) Returns the value of the specified @{code attribute} for thefunctionassociated with this kernel.CudaDevice.getCacheConfig()Returns the current cache configuration of this device.static intCudaDevice.getCount()Returns the number of CUDA-capable devices available to the Java host.static intCuda.getDeviceCount()Returns the number of CUDA-capable devices available to the Java host.static intCuda.getDriverVersion()Returns a number identifying the driver version.static intCudaDevice.getDriverVersion()Deprecated.Use Cuda.getDriverVersion() instead.intCudaStream.getFlags()Returns the flags of this stream.longCudaDevice.getFreeMemory()Returns the amount of free device memory in bytes.CudaModule.getFunction(String name) Returns the function of the specified name from this module.Returns the global variable of the specified name from this module.intCudaDevice.getGreatestStreamPriority()Returns the greatest possible priority of a stream on this device.intCudaDevice.getLeastStreamPriority()Returns the least possible priority of a stream on this device.longCudaDevice.getLimit(CudaDevice.Limit limit) Returns the value of the specifiedlimit.CudaDevice.getName()Returns the name of this device.intCudaStream.getPriority()Returns the priority of this stream.static intCuda.getRuntimeVersion()Returns a number identifying the runtime version.static intCudaDevice.getRuntimeVersion()Deprecated.Use Cuda.getRuntimeVersion() instead.CudaDevice.getSharedMemConfig()Returns the current shared memory configuration of this device.CudaModule.getSurface(String name) Returns the surface of the specified name from this module.CudaModule.getTexture(String name) Returns the texture of the specified name from this module.longCudaDevice.getTotalMemory()Returns the total amount of memory on this device in bytes.final voidCudaKernel.launch(CudaGrid grid, CudaKernel.Parameters parameters) Launches this kernel.final voidLaunches this kernel.voidCudaEvent.record(CudaDevice device) Records this event on the default stream of the specified device.voidCudaEvent.record(CudaStream stream) Records this event on the specified stream.voidCudaDevice.setCacheConfig(CudaDevice.CacheConfig config) Configures the cache of this device.voidCudaFunction.setCacheConfig(CudaDevice.CacheConfig config) Configures the cache for this function.final voidCudaKernel.setCacheConfig(CudaDevice.CacheConfig config) Configures the cache for thefunctionassociated with this kernel.voidCudaDevice.setLimit(CudaDevice.Limit limit, long value) Configures the specifiedlimit.voidCudaDevice.setSharedMemConfig(CudaDevice.SharedMemConfig config) Configures the shared memory of this device.voidCudaFunction.setSharedMemConfig(CudaDevice.SharedMemConfig config) Configures the shared memory of this function.final voidCudaKernel.setSharedMemConfig(CudaDevice.SharedMemConfig config) Configures the shared memory of thefunctionassociated with this kernel.voidCudaDevice.synchronize()Synchronizes on this device.voidCudaEvent.synchronize()Synchronizes on this event.voidCudaStream.synchronize()Synchronizes with this stream.voidCudaModule.unload()Unloads this module from the associated device.voidMakes all future work submitted to this stream wait for the specified event to occur.Constructors in com.ibm.cuda that throw CudaExceptionModifierConstructorDescriptionCudaBuffer(CudaDevice device, long byteCount) Allocates a new region on the specifieddeviceof sizebyteCountbytes.CudaEvent(CudaDevice device) Creates a new event on the specified device with default flags.CudaEvent(CudaDevice device, int flags) Creates a new event on the specified device with the specifiedflags.CudaKernel(CudaModule module, String functionName) Creates a new kernel object in the given module whose entry point is the function with the specified name.CudaLinker(CudaDevice device) Creates a new linker for the specifieddeviceusing default options.CudaLinker(CudaDevice device, CudaJitOptions options) Creates a new linker for the specifieddeviceusing the specifiedoptions.CudaModule(CudaDevice device, byte[] image) Loads a module on the specified device, using the given image and the default options.CudaModule(CudaDevice device, byte[] image, CudaJitOptions options) Loads a module on the specified device, using the given image and the given options.CudaModule(CudaDevice device, InputStream input) Loads a module on the specified device from the given input stream using the default options.CudaModule(CudaDevice device, InputStream input, CudaJitOptions options) Loads a module on the specified device from the given input stream using the specified options.CudaStream(CudaDevice device) Creates a new stream on the specified device, with the default flags and the default priority.CudaStream(CudaDevice device, int flags, int priority) Creates a new stream on the specified device, with the specified flags and priority.