From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C9E1C158043 for ; Sun, 14 Apr 2024 16:22:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F45BE29F9; Sun, 14 Apr 2024 16:22:09 +0000 (UTC) Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0326AE29F5 for ; Sun, 14 Apr 2024 16:22:08 +0000 (UTC) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1e2a1654e6cso4781175ad.1 for ; Sun, 14 Apr 2024 09:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713111728; x=1713716528; darn=lists.gentoo.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AJhRAhWCFlomunYm8wk8efcpFJttHoghRg+VDB+Z1EA=; b=bLwK6sBNNzuG1GTcAECZWqIfSUrjTr2PMHYFzlXLAgb3OSm1CgBkN58OGziw+tZ9CH 7Z9HVWwYBtO/FJzBLLMODy1jJ+SEy0Wt8717aiQcldNfvZ6ScrPZ3Avd2lg4xEEB9gLF N71ziOHRgp1QZoPkHxxHk7xc+UU0nEnLGwJkulTCJFZhuVKndqJ5N/CkV8B2uNmfrVE1 XUHHrbkZCRkTpNpwU0oCbpa4FKdNRTHEsELyb2wLd0FChfTiDQEPrvp1BWZejxnMFpKl lcT98XneQd9BqmOhFBmPhc6zC8vxpPZho9K4PN1MUs1XNQIz3Db2GbMDP86mHlSYRtZ5 LEIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713111728; x=1713716528; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AJhRAhWCFlomunYm8wk8efcpFJttHoghRg+VDB+Z1EA=; b=ViuRLgEZgBZhAi5+bZqRjlcu/UafgoDN+88eR3NudN1i2ESEtNj5KhuVRsG0bVl+nt JpqdnHdbo73S7nhy64b8Z8NEBKVPgtrUA8GLjE5LGRiFt0zY6bbbwL0rcijJsp2iP30k lQzGzP2Zdw6DnzIkCjYa2kfe2cxiQCb7KStAugLfQ3FDMdVf3WH9WRewOCvv9hitXLgx HqxIk8YM582H4uosgbr0pTUr47RHHbCHirjYKYBqtvx9LSsn4T1L30S8BrXtd4OZsAE7 RpUqoPwGZOBfSTJJjtVHu1xZxzO8OBmbr4DQgxLRP34uWZqnQZzIGwlH59SyvBrtHbwL LDzg== X-Gm-Message-State: AOJu0YzDykodEMOOZz6BqzmhZC32pFXEnik0DCW4KkLUIEeajWzCIwNM jHHg77dfOgyLYTtIK7RmGuevh5FKgHUvFgYgH5jh83mCa48LS38OaW/RsjWPXyE= X-Google-Smtp-Source: AGHT+IGmpBKLwKQNnrR4tWgqgOQ+gqGu/AqZhV4w/Fs/c+sMDytjHts0oHxZXRiP6BZOCd4f521gew== X-Received: by 2002:a17:903:230e:b0:1e6:626c:f373 with SMTP id d14-20020a170903230e00b001e6626cf373mr1430677plh.0.1713111727612; Sun, 14 Apr 2024 09:22:07 -0700 (PDT) Received: from localhost ([166.111.32.48]) by smtp.gmail.com with ESMTPSA id w13-20020a170902a70d00b001db66f3748fsm6224965plq.182.2024.04.14.09.22.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 09:22:07 -0700 (PDT) From: Yiyang Wu To: gentoo-dev@lists.gentoo.org Cc: Yiyang Wu Subject: [gentoo-dev] [PATCH 0/2] rocm.eclass: drop xnack feature flag and support ROCm 6 Date: Mon, 15 Apr 2024 00:21:48 +0800 Message-ID: <20240414162158.1777-1-xgreenlandforwyy@gmail.com> X-Mailer: git-send-email 2.41.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: d114f241-c881-4a92-82e3-a062003c8666 X-Archives-Hash: ede5499ac7e0df62188aa181f88f3b51 The first patch simplifies rocm.eclass, dropping xnack feature in get_amdgpu_flags. This makes the compiled GPU binary more compatible. The details are explained the commit message. The second commit adds support for ROCm 6 and MI300. Github pull request: https://github.com/gentoo/gentoo/pull/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 deletions(-) -- 2.41.0