From 75df75518e10a07e79073b303938d598867e10ad Mon Sep 17 00:00:00 2001 From: Vladana Stojiljkovic Date: Fri, 26 Jul 2024 12:34:06 +0200 Subject: [PATCH] SWDEV-475987 - Add mapping for missing CUDA error codes Change-Id: I3ce0b38c99da0ef5735cd9438f99642f1c9e5226 [ROCm/hip commit: 6b5b7c943848c7f96d3fe247f4a405739c6b974a] --- projects/hip/include/hip/hip_runtime_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index dd17b062da..2c0b4d8c60 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -389,6 +389,8 @@ typedef enum __HIP_NODISCARD hipError_t { ///< not performed because it included changes which ///< violated constraintsspecific to instantiated graph ///< update. + hipErrorInvalidChannelDescriptor = 911, ///< Invalid channel descriptor. + hipErrorInvalidTexture = 912, ///< Invalid texture. hipErrorUnknown = 999, ///< Unknown error. // HSA Runtime Error Codes start here. hipErrorRuntimeMemory = 1052, ///< HSA runtime memory call returned error. Typically not seen