public class AddressRetriever extends Object
Constructor and Description |
---|
AddressRetriever() |
Modifier and Type | Method and Description |
---|---|
static long |
retrieveDeviceAddress(DataBuffer buffer,
CudaContext context)
Retrieves the device pointer
for the given data buffer
|
static org.bytedeco.javacpp.Pointer |
retrieveDevicePointer(DataBuffer buffer,
CudaContext context)
Retrieves the device pointer
for the given data buffer
|
static long |
retrieveHostAddress(DataBuffer buffer)
Returns the host address
|
static org.bytedeco.javacpp.Pointer |
retrieveHostPointer(DataBuffer buffer)
Returns the host pointer
|
public static long retrieveDeviceAddress(DataBuffer buffer, CudaContext context)
buffer
- the buffer to get the device
address forpublic static long retrieveHostAddress(DataBuffer buffer)
buffer
- public static org.bytedeco.javacpp.Pointer retrieveDevicePointer(DataBuffer buffer, CudaContext context)
buffer
- the buffer to get the device
address forpublic static org.bytedeco.javacpp.Pointer retrieveHostPointer(DataBuffer buffer)
buffer
- Copyright © 2016. All Rights Reserved.