Skip to content

Commit 6be7587

Browse files
atamazovjunliume
andauthored
[WORKAROUND] Disable W/A for issue #1359 starting from ROCm 5.4.3. (#2225)
Co-authored-by: Jun Liu <[email protected]>
1 parent 3cc32a7 commit 6be7587

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/hipoc/hipoc_program.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ MIOPEN_DECLARE_ENV_VAR_STR(MIOPEN_DEVICE_ARCH)
6262
MIOPEN_DECLARE_ENV_VAR_BOOL(MIOPEN_DEBUG_OPENCL_WAVE64_NOWGP)
6363
MIOPEN_DECLARE_ENV_VAR_BOOL(MIOPEN_DEBUG_USE_HIPRTC)
6464

65-
#define MIOPEN_WORKAROUND_ISSUE_1359 1
65+
/// Stop using W/A for issue 1359 starting from ROCm 5.4.3.
66+
/// This is to W/A another issue (leaking FDs in HIP runtinme)
67+
/// that manifests starting from ROCm 5.5.0 (issue 2223)
68+
#define MIOPEN_WORKAROUND_ISSUE_1359 (HIP_PACKAGE_VERSION_FLAT < 5004022505ULL)
6669

6770
#if MIOPEN_USE_COMGR
6871
#define MIOPEN_WORKAROUND_ROCM_COMPILER_SUPPORT_ISSUE_27 1

0 commit comments

Comments
 (0)