nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/linalg/jcublas/buffer/AddressRetriever.java
public static Pointer retrieveDevicePointer(DataBuffer buffer, CudaContext context) {
        return allocator.getPointer(buffer, context);
    }
public static Pointer retrieveDevicePointer(DataBuffer buffer, CudaContext context) {
        return allocator.getPointer(buffer, context);
    }
Retrieves the device pointer
for the given data buffer
@param buffer the buffer to get the device
address for
@return the device pointer for the given
data buffer