From dcdb7f6c6820db7a2bbbdec72b8b669caa1a886e 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 --- hipamd/include/hip/nvcc_detail/hip_runtime_api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hipamd/include/hip/nvcc_detail/hip_runtime_api.h b/hipamd/include/hip/nvcc_detail/hip_runtime_api.h index 769a66ea7b..1436008dd1 100644 --- a/hipamd/include/hip/nvcc_detail/hip_runtime_api.h +++ b/hipamd/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