From 32f4f2eee27056244f196f7a1149948b67933541 Mon Sep 17 00:00:00 2001 From: Sarbojit Sarkar Date: Thu, 22 Jul 2021 13:13:34 +0000 Subject: [PATCH] SWDEV-292547 - hipStreamPerThread support Change-Id: I66d5b9a34ef26cfbd8ab608db20655a3b1d9c49a [ROCm/hip commit: aca04377506b71a08f66065d42664d3f7ab125ec] --- 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 c548504f5a..3b78037f86 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -613,6 +613,8 @@ enum hipLimit_t { #define hipStreamWaitValueEq 0x1 #define hipStreamWaitValueAnd 0x2 #define hipStreamWaitValueNor 0x3 +// Stream per thread +#define hipStreamPerThread ((hipStream_t)2) ///< Implicit stream per application thread /* * @brief HIP Memory Advise values * @enum