From 65f91dbb0dbd3888aefddaffe97d8b3cb72e350d Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Mon, 5 Jun 2017 08:50:41 -0500 Subject: [PATCH] Enable HIP_SYNC_NULL_STREAM=0 optimization. [ROCm/hip commit: decf3eee1821e56d703e3210f963ac635430821c] --- 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 0cdc57eaab..08a2cdbfcf 100644 --- a/projects/hip/src/hip_hcc.cpp +++ b/projects/hip/src/hip_hcc.cpp @@ -94,7 +94,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 = 1; +int HIP_SYNC_NULL_STREAM = 0; // HIP needs to change some behavior based on HCC_OPT_FLUSH : // TODO - set this to 1