Comments (6)
@littlewu2508 #2891 created. Here is the diff if you would like to try it ASAP: https://github.com/ROCm/MIOpen/compare/develop...atamazov:gcnasm-noxnack-etc.diff
Thanks! I backported it to 5.7 and it resolves the issue of unknown -mno-xnack
.
Uploading miopen-5.7.1-remove-mno-xnack.patch.gz…
from miopen.
@littlewu2508 Yep, it seems like after some recent changes in the compiler, -m[no-]<target-feature>
can't be used with xnack
, and XNACK should be specified in -mcpu
. Ref: https://llvm.org/docs/AMDGPUUsage.html#id117. I am wondering why -m[no-]xnack
normally works with latest ROCm.
I'll look into this. But please let us know hot urgent/important is this issue for you.
ℹ️ Copy of the discussion thread from #990
@littlewu2508:
The mno-xnack
is removed in upstream clang llvm/llvm-project@5cae708 in 2020. However it seems MIOpen is still using that:
Line 1013 in f34a90f
And also, why MIOpen has its own comgr, rather than using https://github.com/ROCm/ROCm-CompilerSupport?
The mno-xnack is removed in upstream clang
It was removed from HIP compiler, but we use it for AMDGPU assembler.
And also, why MIOpen has its own comgr, rather than using https://github.com/ROCm/ROCm-CompilerSupport?
MIOpen uses COMgr and HIPRTC libs to build kernels, no "its own" comgr.
The mno-xnack is removed in upstream clang
It was removed from HIP compiler, but we use it for AMDGPU assembler.
Understood. So I think maybe we can remove the "-target-feature"
, "-xnack"
from optAsm
.
from miopen.
@littlewu2508 I am going to provide a fix for this issue soon. Please let me know if offline assembly (i.e. when the library uses clang executable directly) is working fine on your system.
How to switch from online to offline kernel compilation: just pass two additional options (-DMIOPEN_USE_COMGR=Off -DMIOPEN_USE_HIPRTC=Off
) to CMake, then rebuild/reinstall MIOpen. Thanks!
from miopen.
@littlewu2508 #2891 created. Here is the diff if you would like to try it ASAP: https://github.com/ROCm/MIOpen/compare/develop...atamazov:gcnasm-noxnack-etc.diff
from miopen.
@littlewu2508 in order to close this we also need #2891 to be merged in, so I suggest reopening this.
from miopen.
in order to close this we also need #2891 to be merged in, so I suggest reopening this.
You're right, this is not merged in develop branch yet
from miopen.
Related Issues (20)
- Implementation of MIOPEN_BACKEND_EXECUTION_PLAN_DESCRIPTOR
- Tests for MIOPEN_BACKEND_ENGINE_DESCRIPTOR
- Tests for MIOPEN_BACKEND_ENGINECFG_DESCRIPTOR
- Tests for MIOPEN_BACKEND_EXECUTION_PLAN_DESCRIPTOR
- [MHA] Implement MIOPEN_BACKEND_ENGINEHEUR_DESCRIPTOR
- MIOPEN_BACKEND_ENGINEHEUR_DESCRIPTOR Implementation
- MIOPEN_BACKEND_ENGINEHEUR_DESCRIPTOR Tests
- [gTest] Environmental variable to control applicable platforms for the tests HOT 9
- Unable to builld MIOpen from source on SLES HOT 1
- [XNACK] GPU is asleep during the copy and not waking back up when it should. HOT 7
- Build failure Unable to found boost_filesystem HOT 2
- Reproduce kernel cache binary files in MIOpen HOT 1
- [urgent] HipBuildImpl() seems fail to create temp dir or due to no GPU presents in build env HOT 6
- [WA] re-enable conv_hip_implicit_gemm_grouped_bwd_xdlops after kernel dev work
- Softmax invoking FP16 kernel for FP32 input
- [GEMM group conv] Incorrect GPU time when GemmBwd1x1_stride1 and GemmFwd1x1_0_1 are invoked in "Run" mode. HOT 1
- [URGENT] error: no member named 'for_each_n' in namespace 'std' HOT 5
- Excessive warning messages on workspace provided and required (IsEnoughWorkspace) after #2947 HOT 3
- Build process, which to follow? HOT 1
- [Windows] graphapi gtests are not compiling due to missing class methods HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miopen.