Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)

[ROCm/clr commit: cdc4291431]
이 커밋은 다음에 포함됨:
Ben Sander가 2017-07-24 18:57:19 -05:00를 커밋했습니다
1 부모 46b5ca8681
커밋 0e9272cfd7
1 파일이 변경됨
+5 -1
+5 -1
파일 보기
@@ -95,8 +95,12 @@ int HIP_SYNC_HOST_ALLOC = 1;
int HIP_SYNC_NULL_STREAM = 1;
// HIP needs to change some behavior based on HCC_OPT_FLUSH :
// TODO - set this to 1
#if (__hcc_workweek__ >= 17296)
int HCC_OPT_FLUSH = 1;
#else
#warning "HIP disabled HCC_OPT_FLUSH since HCC version does not yet support"
int HCC_OPT_FLUSH = 0;
#endif