SWDEV-436233 - fix the cumode in hiprtc
cumode should be active when wgp mode is off Change-Id: I12f2e55d942ddeb0fb4470de7abc3caff1f430f7
Этот коммит содержится в:
коммит произвёл
Jatin Jaikishan Chaudhary
родитель
7d661bc7df
Коммит
49369f0851
@@ -2,6 +2,11 @@
|
||||
|
||||
Full documentation for HIP is available at [docs.amd.com](https://docs.amd.com/)
|
||||
|
||||
## HIP 6.1 (For ROCm 6.1)
|
||||
|
||||
### Changed
|
||||
- HIPRTC now assumes WGP mode for gfx10+. CU mode can be enabled by passing `-mcumode` to the compile options from `hiprtcCompileProgram`.
|
||||
|
||||
## (Unreleased) HIP 6.0 (For ROCm 6.0)
|
||||
### Optimizations
|
||||
|
||||
|
||||
@@ -149,7 +149,9 @@ RTCCompileProgram::RTCCompileProgram(std::string name_) : RTCProgram(name_), fgp
|
||||
compile_options_.reserve(20); // count of options below
|
||||
compile_options_.push_back("-O3");
|
||||
|
||||
if (GPU_ENABLE_WGP_MODE) compile_options_.push_back("-mcumode");
|
||||
if (!(GPU_ENABLE_WGP_MODE)) {
|
||||
compile_options_.push_back("-mcumode");
|
||||
}
|
||||
|
||||
compile_options_.push_back(hipVerOpt);
|
||||
compile_options_.push_back(hipVerMajor);
|
||||
|
||||
Ссылка в новой задаче
Block a user