Also update the references, since the original reference does not
contain MI300. The "see also" blog is also removed because it hasn't been
updated for 2 years.
Signed-off-by: Yiyang Wu
---
eclass/rocm.eclass| 12 +++-
profiles/desc/amdgpu_ta
iv.org/abs/2401.02680
[6] https://llvm.org/docs/AMDGPUUsage.html#target-features
[7]
https://docs.olcf.ornl.gov/systems/crusher_quick_start_guide.html#compiling-hip-kernels-for-specific-xnack-modes
[8]
https://github.com/ROCm/rocFFT/commit/cd2689360ba3b3579d044d8925838ff307b4b4cf
Signed-off-by:
/36254
Yiyang Wu (2):
rocm.eclass: remove xnack flag for broader compatibility
Enable ROCm 6, add gfx94{0,1,2} (MI300) support
eclass/rocm.eclass| 31 +--
profiles/desc/amdgpu_targets.desc | 14 ++
2 files changed, 23 insertions(+), 22
Signed-off-by: Yiyang Wu
---
profiles/desc/amdgpu_targets.desc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/profiles/desc/amdgpu_targets.desc
b/profiles/desc/amdgpu_targets.desc
index 77ffa43399f1..46513023c3a9 100644
--- a/profiles/desc/amdgpu_targets.desc
+++ b
Github PR: https://github.com/gentoo/gentoo/pull/33861
[1] https://llvm.org/docs/AMDGPUUsage.html#target-features
[2]
https://docs.olcf.ornl.gov/systems/crusher_quick_start_guide.html#compiling-hip-kernels-for-specific-xnack-modes
Signed-off-by: Yiyang Wu
---
eclass/rocm.eclass
lly with
amdgpu_targets_gfx1100 (but not tested on real GPU).
rocBLAS-5.4.2.ebuild is in https://github.com/gentoo/gentoo/pull/29319
The github PR for this patch is at
https://github.com/gentoo/gentoo/pull/29320
Closes: https://bugs.gentoo.org/891499
Signed-off-by: Yiyang Wu
---
eclass/rocm.ecl
Signed-off-by: Yiyang Wu
---
profiles/desc/amdgpu_targets.desc | 17 +
1 file changed, 17 insertions(+)
create mode 100644 profiles/desc/amdgpu_targets.desc
diff --git a/profiles/desc/amdgpu_targets.desc
b/profiles/desc/amdgpu_targets.desc
new file mode 100644
index
cupy, can also make use of
this eclass, mainly specify GPU architecture and it's corresponding
dependencies via USE_EXPAND.
Closes: https://bugs.gentoo.org/810619
Bugs: https://bugs.gentoo.org/817440
Signed-off-by: Yiyang Wu
---
eclass/rocm.eclass
portage user is
in render group or not. I would like to print the username, so I tried
use ${USER} but it is not set during src_test. Previously, I used
${PORTAGE_USERNAME} but its a potage internal variable. Is there an
approach to print the portage username? Would $(whoami) suitable for
this job?
Y
Signed-off-by: Yiyang Wu
---
profiles/desc/amdgpu_targets.desc | 17 +
1 file changed, 17 insertions(+)
create mode 100644 profiles/desc/amdgpu_targets.desc
diff --git a/profiles/desc/amdgpu_targets.desc
b/profiles/desc/amdgpu_targets.desc
new file mode 100644
index
cupy, can also make use of
this eclass, mainly specify GPU architecture and it's corresponding
dependencies via USE_EXPAND.
Closes: https://bugs.gentoo.org/810619
Bugs: https://bugs.gentoo.org/817440
Signed-off-by: Yiyang Wu
---
eclass/rocm.eclass
reference of AMDGPU targets and GPU product matching.
Yiyang Wu (2):
rocm.eclass: new eclass
profiles/desc: add amdgpu_targets.desc for USE_EXPAND
eclass/rocm.eclass| 284 ++
profiles/base/make.defaults | 2 +-
profiles/desc
Signed-off-by: Yiyang Wu
---
profiles/desc/amdgpu_targets.desc | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 profiles/desc/amdgpu_targets.desc
diff --git a/profiles/desc/amdgpu_targets.desc
b/profiles/desc/amdgpu_targets.desc
new file mode 100644
index
cupy, can also make use of
this eclass, mainly specify GPU architecture and it's corresponding
dependencies via USE_EXPAND.
Closes: https://bugs.gentoo.org/810619
Bugs: https://bugs.gentoo.org/817440
Signed-off-by: Yiyang Wu
---
eclass/rocm.eclass
The v5 patches corrects the usage of bash array expansion on
OFFICIAL_AMDGPU_TARGETS.
The updated Github PR is located at
https://github.com/gentoo/gentoo/pull/26784
Yiyang Wu (2):
rocm.eclass: new eclass
profiles/desc: add amdgpu_targets.desc for USE_EXPAND
eclass/rocm.eclass
Signed-off-by: Yiyang Wu
---
profiles/desc/amdgpu_targets.desc | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 profiles/desc/amdgpu_targets.desc
diff --git a/profiles/desc/amdgpu_targets.desc
b/profiles/desc/amdgpu_targets.desc
new file mode 100644
index
cupy, can also make use of
this eclass, mainly specify GPU architecture and it's corresponding
dependencies via USE_EXPAND.
Closes: https://bugs.gentoo.org/810619
Bugs: https://bugs.gentoo.org/817440
Signed-off-by: Yiyang Wu
---
eclass/rocm.eclass
The v4 patches fixes a bug about determining whether ${gpu_target} is in
${OFFICIAL_AMDGPU_TARGETS[*]}. Nothing else has changed, and the eclass
works as expected in my experiment ebuilds on sci-libs/roc*.
Yiyang Wu (2):
rocm.eclass: new eclass
profiles/desc: add amdgpu_targets.desc for
Signed-off-by: Yiyang Wu
---
profiles/desc/amdgpu_targets.desc | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 profiles/desc/amdgpu_targets.desc
diff --git a/profiles/desc/amdgpu_targets.desc
b/profiles/desc/amdgpu_targets.desc
new file mode 100644
index
cupy, can also make use of
this eclass, mainly specify GPU architecture and it's corresponding
dependencies via USE_EXPAND.
Closes: https://bugs.gentoo.org/810619
Bugs: https://bugs.gentoo.org/817440
Signed-off-by: Yiyang Wu
---
eclass/rocm.eclass
;
5. correct quotation mark usage (which fixes ROCM_TESTS iteration);
6. use has function to test variable inside array;
7. fix typo;
8. avoid using internal portage variables;
9. disable wildcard in check_rw_permission; iterate devices to check;
10. referece bug #817440 in commit message.
Yiyang Wu
Signed-off-by: Yiyang Wu
Signed-off-by: YiyangWu
---
profiles/desc/amdgpu_targets.desc | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 profiles/desc/amdgpu_targets.desc
diff --git a/profiles/desc/amdgpu_targets.desc
b/profiles/desc/amdgpu_targets.desc
new file mode
thors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: rocm.eclass
+# @MAINTAINER:
+# Gentoo Science Project
+# @AUTHOR:
+# Yiyang Wu
+# @SUPPORTED_EAPIS: 7 8
+# @BLURB: Common functions and variables for ROCm packages written in HIP
+# @DESCRIPTION:
+# ROCm packages such a
From: YiyangWu
This update fixes problems pointed out last week on rocm.eclass.
Changelog from v1:
1. Change to the mordern EAPI check style;
2. fix typo in amdgpu_targets.desc;
3. remove trailing space in comments
Yiyang Wu (2):
rocm.eclass: new eclass
profiles/desc: add
Signed-off-by: Yiyang Wu
---
profiles/desc/amdgpu_targets.desc | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 profiles/desc/amdgpu_targets.desc
diff --git a/profiles/desc/amdgpu_targets.desc
b/profiles/desc/amdgpu_targets.desc
new file mode 100644
index
Project
+# @AUTHOR:
+# Yiyang Wu
+# @SUPPORTED_EAPIS: 7 8
+# @BLURB: Common functions and variables for ROCm packages written in HIP
+# @DESCRIPTION:
+# ROCm packages such as sci-libs/* can utilize functions in this
eclass.
+# Currently, it handles the AMDGPU_TARGETS variable via USE_EXPAND, so user
cupy, can also make use of
this eclass, mainly specify GPU architecture and it's corresponding
dependencies via USE_EXPAND.
This is the core delivery in GSoC 2022 project "Refining ROCm Packages
in Gentoo"
Yiyang Wu (2):
rocm.eclass: new eclass
profiles/desc: add amdgpu_t
27 matches
Mail list logo