-
Notifications
You must be signed in to change notification settings - Fork 88
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
Use clang++ from HIP SDK on Windows as a C++ compiler #2815
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2815 +/- ##
========================================
Coverage 91.82% 91.82%
========================================
Files 477 478 +1
Lines 18112 18115 +3
========================================
+ Hits 16631 16634 +3
Misses 1481 1481 ☔ View full report in Codecov by Sentry. |
We should use whatever the |
We cannot rely on build system configuration for the production package. The reason is that compilers on Windows may be installed in nonstandard locations (usually they are; for instance, for our convenience, we are installing compilers at |
This build is not recommended to merge 🔴 |
🔴bert_large_uncased_fp16: FAILED: MIGraphX is not within tolerance - check verbose output |
Yes of course, thats why we dont call to the compiler during the runtime, we use hipRTC for that(the option to use clang is for dev only).
Compilers maybe installed in nonstandard locations on linux as well(it could be installed with a source-based package manager like spack) or not installed at all since its a dev package not a runtime package. This is why we compile with hipRTC.
This variable wont be set if hip is installed with spack or vcpkg or built from source.
I dont understand, the only place the |
The
c++
command for the C++ compiler is unavailable on Windows. In general, installed by default of any compiler on Windows is not the standard. We assume HIP SDK is installed in the system at least, so we can use that as the C++ compiler.The installation directory of HIP SDK is provided through the HIP_PATH environment variable (the HIP SDK installer creates that variable).