pub unsafe extern "C" fn hipMemGetAllocationGranularity(
granularity: *mut usize,
prop: *const hipMemAllocationProp,
option: hipMemAllocationGranularity_flags,
) -> hipError_t
Expand 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, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.
@note This API is implemented on Linux, under development on Windows.