From d1fe7f1683382eda0b50cf42dff6181a061f64ad 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/clr commit: 344b6cb0c0852bbab293a0d618a59274a693f69a] --- projects/clr/hipamd/src/hip_hcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/src/hip_hcc.cpp b/projects/clr/hipamd/src/hip_hcc.cpp index 0cdc57eaab..08a2cdbfcf 100644 --- a/projects/clr/hipamd/src/hip_hcc.cpp +++ b/projects/clr/hipamd/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