Skip to content

Commit

Permalink
[WORKAROUND] Fix W/A in PR #1125 that disables dynamic reduction by d…
Browse files Browse the repository at this point in the history
…efault for HIP backend && ROCm 4.3 (#1127)
  • Loading branch information
junliume committed Sep 30, 2021
1 parent 1e90891 commit e9d36ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reducetensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
MIOPEN_DECLARE_ENV_VAR(MIOPEN_DEBUG_DYNAMIC_REDUCTION);

#define WORKAROUND_MIOPEN_ISSUE_557 1
#define WORKAROUND_ISSUE_1123 ((HIP_PACKAGE_VERSION_FLAT == 4003000000ULL) && MIOPEN_BACKEND_HIP)
#define WORKAROUND_ISSUE_1123 (HIP_PACKAGE_VERSION_FLAT >= 4003000000ULL && HIP_PACKAGE_VERSION_FLAT <= 4003021300ULL && MIOPEN_BACKEND_HIP)

namespace miopen {

Expand Down

0 comments on commit e9d36ef

Please sign in to comment.