From ba0215ad9ffddfd1fb46b747321e972630f792c3 Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Fri, 30 Jun 2017 19:01:14 -0500 Subject: [PATCH] Set default HIP_SYNC_NULL_STREAM=1. [ROCm/hip commit: 626b5191e8cc56386ad6d0c83559af6f514ed5a0] --- projects/hip/src/hip_hcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/src/hip_hcc.cpp b/projects/hip/src/hip_hcc.cpp index 9c54c8917f..39466aa834 100644 --- a/projects/hip/src/hip_hcc.cpp +++ b/projects/hip/src/hip_hcc.cpp @@ -92,7 +92,7 @@ int HIP_SYNC_HOST_ALLOC = 1; // Chicken bit to sync on host to implement null stream. // If 0, null stream synchronization is performed on the GPU -int HIP_SYNC_NULL_STREAM = 0; +int HIP_SYNC_NULL_STREAM = 1; // HIP needs to change some behavior based on HCC_OPT_FLUSH : // TODO - set this to 1