public class CUdeviceptr extends Pointer
Modifier | Constructor and Description |
---|---|
|
CUdeviceptr()
Creates a new (null) device pointer
|
protected |
CUdeviceptr(CUdeviceptr other)
Copy constructor
|
protected |
CUdeviceptr(CUdeviceptr other,
long byteOffset)
Creates a copy of the given pointer, with an
additional byte offset
|
Modifier and Type | Method and Description |
---|---|
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
|
getByteBuffer, getByteBuffer, getByteOffset, to, to, to, to, to, to, to, to, to, toBuffer
equals, getNativePointer, hashCode
public CUdeviceptr()
protected CUdeviceptr(CUdeviceptr other)
other
- The other pointerprotected CUdeviceptr(CUdeviceptr other, long byteOffset)
other
- The other pointerbyteOffset
- The additional byte offsetpublic CUdeviceptr withByteOffset(long byteOffset)
Pointer
withByteOffset
in class Pointer
byteOffset
- The byte offset for the pointerCopyright © 2020. All rights reserved.