pub unsafe extern "C" fn hipPointerGetAttributes(
    attributes: *mut hipPointerAttribute_t,
    ptr: *const c_void
) -> hipError_t
Expand description

@} / /**


@defgroup Memory Memory Management @{ This section describes the memory management functions of HIP runtime API. The following CUDA APIs are not currently supported:

  • cudaMalloc3D
  • cudaMalloc3DArray
  • TODO - more 2D, 3D, array APIs here.

/ /** @brief Return attributes for the specified pointer

@param [out] attributes attributes for the specified pointer @param [in] ptr pointer to get attributes for

@return #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue

@see hipPointerGetAttribute