From f1f98a0d2f994017b97bb4fa175bec473b4ea0a2 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/clr commit: 61fafdceb1599b3dfe04c9ebabda3512a78091f1] --- 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 9c54c8917f..39466aa834 100644 --- a/projects/clr/hipamd/src/hip_hcc.cpp +++ b/projects/clr/hipamd/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