nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AtomicAllocator.java
@Override
    public Pointer getPointer(DataBuffer buffer, CudaContext context) {
        return memoryHandler.getDevicePointer(buffer, context);
    }
@Override
    public Pointer getPointer(DataBuffer buffer, CudaContext context) {
        return memoryHandler.getDevicePointer(buffer, context);
    }
@ Override public Pointer getPointer ( DataBuffer buffer , CudaContext context ) { return memoryHandler . getDevicePointer ( buffer , context ) ; }
This method returns actual device pointer valid for current object

@param buffer
This method returns actual device pointer valid for current object