From aa78d5fef15dbfea20952fc1d3f40da9711ea903 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Wed, 21 Sep 2022 03:58:47 +0530 Subject: [PATCH] SWDEV-353686 - add default value for userobj (#2895) Change-Id: I4cc993128f438fba156207fd4c4c9ce18380981b [ROCm/hip commit: 1e97d5b9ab6e324eb6639c5765af7baa118ac5d8] --- projects/hip/include/hip/hip_runtime_api.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index 86bef4c273..6836fa5358 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -6351,7 +6351,7 @@ hipError_t hipUserObjectCreate(hipUserObject_t* object_out, void* ptr, hipHostFn * @warning : This API is marked as beta, meaning, while this is feature complete, * it is still open to changes and may have outstanding issues. */ -hipError_t hipUserObjectRelease(hipUserObject_t object, unsigned int count); +hipError_t hipUserObjectRelease(hipUserObject_t object, unsigned int count __dparm(1)); /** * @brief Retain number of references to resource. @@ -6362,7 +6362,7 @@ hipError_t hipUserObjectRelease(hipUserObject_t object, unsigned int count); * @warning : This API is marked as beta, meaning, while this is feature complete, * it is still open to changes and may have outstanding issues. */ -hipError_t hipUserObjectRetain(hipUserObject_t object, unsigned int count); +hipError_t hipUserObjectRetain(hipUserObject_t object, unsigned int count __dparm(1)); /** * @brief Retain user object for graphs. @@ -6375,7 +6375,7 @@ hipError_t hipUserObjectRetain(hipUserObject_t object, unsigned int count); * @warning : This API is marked as beta, meaning, while this is feature complete, * it is still open to changes and may have outstanding issues. */ -hipError_t hipGraphRetainUserObject(hipGraph_t graph, hipUserObject_t object, unsigned int count, unsigned int flags); +hipError_t hipGraphRetainUserObject(hipGraph_t graph, hipUserObject_t object, unsigned int count __dparm(1), unsigned int flags __dparm(0)); /** * @brief Release user object from graphs.