pub unsafe extern "C" fn hipMemGetAllocationGranularity(
granularity: *mut usize,
prop: *const hipMemAllocationProp,
option: hipMemAllocationGranularity_flags,
) -> hipError_tExpand description
@brief Calculates either the minimal or recommended granularity.
@param [out] granularity - returned granularity. @param [in] prop - location properties. @param [in] option - determines which granularity to return. @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported @warning This API is marked as Beta. While this feature is complete, it can change and might have outstanding issues.
@note This API is implemented on Linux and is under development on Microsoft Windows.