public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: virtual/opencl/
Date: Wed,  9 Aug 2017 15:10:08 +0000 (UTC)	[thread overview]
Message-ID: <1502291401.5333f190c3388bf71552464fd59ab6dd80ea24a4.marecki@gentoo> (raw)

commit:     5333f190c3388bf71552464fd59ab6dd80ea24a4
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  9 14:56:44 2017 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 15:10:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5333f190

virtual/opencl: add VIDEO_CARDS=amdgpu support

Radeon Open Compute has not been added to Gentoo yet but even without it, it is possible
to enable OpenCL on recent AMD cards by combining OpenCL libraries from the proprietary
AMDGPU-Pro stack with the Open Source amdgpu stack. It's a hack but it works, at least
on Polaris GPUs.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 virtual/opencl/opencl-0-r5.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/virtual/opencl/opencl-0-r5.ebuild b/virtual/opencl/opencl-0-r5.ebuild
index d9e8a055e43..f137f7884b8 100644
--- a/virtual/opencl/opencl-0-r5.ebuild
+++ b/virtual/opencl/opencl-0-r5.ebuild
@@ -8,13 +8,15 @@ inherit multilib-build
 DESCRIPTION="Virtual for OpenCL implementations"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
-CARDS=( fglrx i965 nvidia )
+CARDS=( amdgpu fglrx i965 nvidia )
 IUSE="${CARDS[@]/#/video_cards_}"
 
-# intel-ocl-sdk is amd64-only
+# amdgpu-pro-opencl and intel-ocl-sdk are amd64-only
 RDEPEND="app-eselect/eselect-opencl
 	|| (
 		>=media-libs/mesa-9.1.6[opencl,${MULTILIB_USEDEP}]
+		video_cards_amdgpu? (
+			abi_x86_64? ( !abi_x86_32? ( dev-libs/amdgpu-pro-opencl ) ) )
 		video_cards_fglrx? (
 			>=x11-drivers/ati-drivers-12.1-r1 )
 		video_cards_i965? (


             reply	other threads:[~2017-08-09 15:10 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-09 15:10 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-06 15:56 [gentoo-commits] repo/gentoo:master commit in: virtual/opencl/ Conrad Kostecki
2025-04-06 15:06 Conrad Kostecki
2025-01-15 18:44 Sam James
2025-01-05  1:37 Sam James
2024-10-21 22:48 Matt Turner
2024-05-23 13:34 WANG Xuerui
2023-04-13  3:03 Sam James
2023-04-12  6:05 Yixun Lan
2022-10-04  3:18 Sam James
2022-07-26  4:49 Sam James
2022-07-24  1:07 Sam James
2022-07-24  1:04 Sam James
2021-05-23 12:54 Marek Szuba
2020-08-25 10:39 Marek Szuba
2020-05-18 20:40 Matt Turner
2020-05-14 21:29 Thomas Deutschmann
2020-05-12 12:50 Mikle Kolyada
2020-04-10 13:31 Marek Szuba
2020-04-01 21:15 Marek Szuba
2020-04-01 21:15 Marek Szuba
2020-03-25 13:36 Marek Szuba
2020-03-11 20:19 Matt Turner
2020-02-28 12:08 Marek Szuba
2020-02-28 12:03 Marek Szuba
2020-02-25  9:07 Marek Szuba
2020-02-24 19:11 Marek Szuba
2019-09-21 17:11 Matt Turner
2019-09-20 12:17 Agostino Sarubbo
2019-09-20 12:14 Agostino Sarubbo
2019-08-15 16:27 Craig Andrews
2019-07-10 18:07 Marek Szuba
2019-05-08 19:21 Mikle Kolyada
2019-04-25 22:32 Pacho Ramos
2019-04-19 22:39 Pacho Ramos
2018-07-09 16:51 Michał Górny
2018-05-12  2:45 Matt Turner
2018-05-07 19:22 Thomas Deutschmann
2018-05-06 12:26 Mikle Kolyada
2017-11-24  6:06 Matt Turner
2017-06-18 16:46 Alexis Ballier
2017-03-25  0:45 Matt Turner
2017-01-26 10:40 Marek Szuba
2017-01-25  1:00 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502291401.5333f190c3388bf71552464fd59ab6dd80ea24a4.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox