code: public static int cudaHostGetDevicePointer(Pointer pDevice, Pointer pHost, int flags)
      {
          return checkResult(cudaHostGetDevicePointerNative(pDevice, pHost, flags));
      }
docs: Passes back device pointer of mapped host memory allocated by cudaHostAlloc or registered by cudaHostRegister.
  
  <pre>
  cudaError_t cudaHostGetDevicePointer (
  void** pDevice,
  void* pHost,
  unsigned int  flags )
  </pre>
  <div>
  <p>Passes back device pointer of mapped host
  memory allocated by cudaHostAlloc or registered by cudaHostRegister.
  Passes back
  the device pointer corresponding to the
  mapped, pinned host buffer allocated by cudaHostAlloc() or registered
  by cudaHostRegister().
  </p>
  <p>cudaHostGetDevicePointer() will fail if
  the cudaDeviceMapHost flag was not specified before deferred context
  creation occurred, or if called on a device that does not support
  mapped,
  pinned memory.
  </p>
  <p><tt>flags</tt> provides for future
  releases. For now, it must be set to 0.
  </p>
  <div>
  <span>Note:</span>
  <p>Note that this
  function may also return error codes from previous, asynchronous
  launches.
  </p>
  </div>
  </p>
  </div>
  
  @param pDevice Returned device pointer for mapped memory
  @param pHost Requested host pointer mapping
  @param flags Flags for extensions (must be 0 for now)
  
  @return cudaSuccess, cudaErrorInvalidValue, cudaErrorMemoryAllocation
  
  @see JCuda#cudaSetDeviceFlags
  @see JCuda#cudaHostAlloc