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, toBufferequals, getNativePointer, hashCodepublic 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)
PointerwithByteOffset in class PointerbyteOffset - The byte offset for the pointerCopyright © 2020. All rights reserved.