hipStreamQuery uses av::is_empty. Add HIP_FORCE_NULL_STREAM.

[ROCm/hip commit: 4ac6d643c1]
This commit is contained in:
Ben Sander committed 2017-08-31 03:00:14 +00:00
1 parent 2a23d6dbe7
commit cbbb0826f2
3 files changed
+27 -16

No files matched your search

+4
View File
@@ -90,6 +90,8 @@ int HIP_SYNC_HOST_ALLOC = 1;
int HIP_SYNC_STREAM_WAIT = 0;
int HIP_FORCE_NULL_STREAM=0;
#if (__hcc_workweek__ >= 17300)
// Make sure we have required bug fix in HCC
@@ -1251,6 +1253,8 @@ void HipReadEnv()
READ_ENV_I(release, HIP_SYNC_HOST_ALLOC, 0, "Sync before and after all host memory allocations. May help stability");
READ_ENV_I(release, HIP_SYNC_NULL_STREAM, 0, "Synchronize on host for null stream submissions");
READ_ENV_I(release, HIP_FORCE_NULL_STREAM, 0, "Force all stream allocations to secretly return the null stream");
READ_ENV_I(release, HIP_SYNC_STREAM_WAIT, 0, "hipStreamWaitEvent will synchronize to host");