From d449ce078cbcfc8f2b23343a33694aae6d9aa2f8 Mon Sep 17 00:00:00 2001 From: pensun Date: Thu, 27 Oct 2016 13:34:14 -0500 Subject: [PATCH] Add missing hipStream typedef for NV path Change-Id: I915cd14a9ff32b55b0121062d7804a7fbbdc3341 [ROCm/hip commit: 334e9c6f8ea33588b068a736614b47b97e32ee02] --- projects/hip/include/hip/nvcc_detail/hip_runtime_api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h b/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h index 769a66ea7b..1436008dd1 100644 --- a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h +++ b/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h @@ -83,6 +83,10 @@ typedef CUmodule hipModule_t; typedef CUfunction hipFunction_t; typedef CUdeviceptr hipDeviceptr_t; +// Flags that can be used with hipStreamCreateWithFlags +#define hipStreamDefault 0x00 ///< Default stream creation flags +#define hipStreamNonBlocking 0x01 ///< Stream does not implicitly synchronize with null stream + //typedef cudaChannelFormatDesc hipChannelFormatDesc; #define hipChannelFormatDesc cudaChannelFormatDesc