jcuda.driver
Class CUdeviceptr

java.lang.Object
  extended by jcuda.NativePointerObject
      extended by jcuda.Pointer
          extended by jcuda.driver.CUdeviceptr

public class CUdeviceptr
extends Pointer

Java port of a CUdeviceptr.


Constructor Summary
CUdeviceptr()
          Creates a new (null) device pointer
 
Method Summary
 java.lang.String toString()
          Returns a String representation of this object.
 CUdeviceptr withByteOffset(long byteOffset)
          Returns a new pointer with an offset of the given number of bytes
 
Methods inherited from class jcuda.Pointer
getByteBuffer, to, to, to, to, to, to, to, to, to, toBuffer
 
Methods inherited from class jcuda.NativePointerObject
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CUdeviceptr

public CUdeviceptr()
Creates a new (null) device pointer

Method Detail

withByteOffset

public CUdeviceptr withByteOffset(long byteOffset)
Description copied from class: Pointer
Returns a new pointer with an offset of the given number of bytes

Overrides:
withByteOffset in class Pointer
Parameters:
byteOffset - The byte offset for the pointer
Returns:
The new pointer with the given byte offset

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class Pointer
Returns:
A String representation of this object.