From 264a149df954c443119dbdbc36fa7c723e109313 Mon Sep 17 00:00:00 2001 From: Jaydeep Patel Date: Tue, 13 Aug 2024 16:43:28 +0000 Subject: [PATCH] SWDEV-479043 - Add mapping for hipStreamLegacy. Change-Id: I35f699641624b5ef15e5bc1b3c669a2e74547453 [ROCm/hipother commit: 9ea767377e511689b23ef476a051de3359ad8b56] --- .../hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h index 8ef1f234da..73ffedcf8e 100644 --- a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h +++ b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h @@ -255,6 +255,9 @@ inline static CUresourcetype hipResourcetype_enumToCUresourcetype( // hipStreamPerThread #define hipStreamPerThread ((cudaStream_t)2) +// hipStreamLegacy +#define hipStreamLegacy ((cudaStream_t)1) + #define hipTexRef CUtexref typedef CUmipmappedArray hipmipmappedArray; typedef cudaMipmappedArray_t hipMipmappedArray_t;