From 9679384d8664389ed5fb9b9fbd5e860f8543ccf9 Mon Sep 17 00:00:00 2001 From: Sarbojit Sarkar Date: Thu, 22 Jul 2021 13:08:52 +0000 Subject: [PATCH] SWDEV-292547 - hipStreamPerThread support Change-Id: Id621ce073b0fee9eac03c59ffb78b197fda4ddb5 [ROCm/hipother commit: ce3a40699c0d9b4c780317ac1a968ac468de3542] --- .../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 a53d68e72e..fbe70bab8a 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 @@ -198,6 +198,9 @@ inline static CUresourcetype hipResourcetype_enumToCUresourcetype( } } +// hipStreamPerThread +#define hipStreamPerThread ((cudaStream_t)2) + #define hipTexRef CUtexref #define hiparray CUarray