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