Uses of Class
com.ibm.cuda.CudaDevice
Packages that use CudaDevice
-
Uses of CudaDevice in com.ibm.cuda
Methods in com.ibm.cuda with parameters of type CudaDeviceModifier and TypeMethodDescriptionboolean
CudaDevice.canAccessPeer
(CudaDevice peerDevice) Returns whether this device can access memory of the specifiedpeerDevice
.void
CudaDevice.disablePeerAccess
(CudaDevice peerDevice) Disable access to memory ofpeerDevice
by this device.void
CudaDevice.enablePeerAccess
(CudaDevice peerDevice) Enable access to memory ofpeerDevice
by this device.CudaModule.Cache.get
(CudaDevice device, Object key) Retrieves an existing module for the specified device and key.CudaModule.Cache.put
(CudaDevice device, Object key, CudaModule module) Stores a module in this cache, associating it with the given device and key.void
CudaEvent.record
(CudaDevice device) Records this event on the default stream of the specified device.Constructors in com.ibm.cuda with parameters of type CudaDeviceModifierConstructorDescriptionCudaBuffer
(CudaDevice device, long byteCount) Allocates a new region on the specifieddevice
of sizebyteCount
bytes.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
.CudaLinker
(CudaDevice device) Creates a new linker for the specifieddevice
using default options.CudaLinker
(CudaDevice device, CudaJitOptions options) Creates a new linker for the specifieddevice
using 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.