-
Notifications
You must be signed in to change notification settings - Fork 268
[COMGR] Fixes for HIP PCH #627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ConvAsmImplicitGemmV4R1DynamicWrw
…handle_test (leftovers)
…UG_COMGR_HIP_PCH_DISABLE -> ...ENFORCE
…reduction_operator.hpp (fixes reduce_test)
…disabled. Rename W/A macro.
@fronteer @shaojiewang @JehandadKhan You are all assigned to review this urgent PR, please do so. |
return HIP_SUPPORTS_PCH; | ||
} | ||
|
||
static std::string GetPchEnableStatus() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like this could be useful elsewhere and not just logging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only here so far. Any ideas?
Codecov Report
@@ Coverage Diff @@
## develop #627 +/- ##
===========================================
- Coverage 53.02% 52.11% -0.92%
===========================================
Files 297 297
Lines 45814 45814
===========================================
- Hits 24294 23877 -417
- Misses 21520 21937 +417
Continue to review full report at Codecov.
|
Description updated. |
* comgr-hip-pch-fix(01) Observe MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS in handle_test * comgr-hip-pch-fix(02) Observe MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS in ConvAsmImplicitGemmV4R1DynamicWrw * comgr-hip-pch-fix(03) Observe MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS in handle_test (leftovers) * comgr-hip-pch-fix(04) Add MIOPEN_DEBUG_COMGR_HIP_PCH_DISABLE * comgr-hip-pch-fix(05) Allow forced enabled & disabled PCH. MIOPEN_DEBUG_COMGR_HIP_PCH_DISABLE -> ...ENFORCE * comgr-hip-pch-fix(06) Observe MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS in reduction_operator.hpp (fixes reduce_test) * comgr-hip-pch-fix(07) Fix incorrect #include in kernel source * comgr-hip-pch-fix(08) Temporary W/A for handle_test * comgr-hip-pch-fix(09) Disable W/A for handle_test * comgr-hip-pch-fix(10) handle_test: Fix for the case when HIP kernels disabled. Rename W/A macro. * comgr-hip-pch-fix(11) Automatically disable W/A in handle test after ROCm 3.10 * comgr-hip-pch-fix(13) W/A: Disable HIP PCH for ROCm <= 3.9.x
* comgr-hip-pch-fix(01) Observe MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS in handle_test * comgr-hip-pch-fix(02) Observe MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS in ConvAsmImplicitGemmV4R1DynamicWrw * comgr-hip-pch-fix(03) Observe MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS in handle_test (leftovers) * comgr-hip-pch-fix(04) Add MIOPEN_DEBUG_COMGR_HIP_PCH_DISABLE * comgr-hip-pch-fix(05) Allow forced enabled & disabled PCH. MIOPEN_DEBUG_COMGR_HIP_PCH_DISABLE -> ...ENFORCE * comgr-hip-pch-fix(06) Observe MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS in reduction_operator.hpp (fixes reduce_test) * comgr-hip-pch-fix(07) Fix incorrect #include in kernel source * comgr-hip-pch-fix(08) Temporary W/A for handle_test * comgr-hip-pch-fix(09) Disable W/A for handle_test * comgr-hip-pch-fix(10) handle_test: Fix for the case when HIP kernels disabled. Rename W/A macro. * comgr-hip-pch-fix(11) Automatically disable W/A in handle test after ROCm 3.10 * comgr-hip-pch-fix(13) W/A: Disable HIP PCH for ROCm <= 3.9.x
Resolves issues related to SWDEV-257056:
MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS
inhandle_test
.MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS
in reduction_operator.hpp (fixesreduce_test
).MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS
in ConvAsmImplicitGemmV4R1DynamicWrw.handle_test
for the case when HIP kernels disabled.#include
in kernel source.handle_test
for macros missing from HIP PCH in ROCm, 3.10 RC3WORKAROUND_SWDEV_257056_PCH_MISSING_MACROS
.MIOPEN_DEBUG_COMGR_HIP_PCH_ENFORCE
that allows overriding of HIP PCH feature auto-detection.WORKAROUND_SWDEV_257056_PCH_INCORRECTLY_REPORTED
.