From nobody Mon Jul 20 12:00:09 2026 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4h3fGL2Xfbz6lrHn for ; Mon, 20 Jul 2026 12:00:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h3fGK6rn6z3MCK for ; Mon, 20 Jul 2026 12:00:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784548810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6M+6QaXh2geeJkteow8v0U0bjWkCm/tZ/O5RduY5d+k=; b=nYuK/NjQcHcWDiC3jHIOafU3DiRPcaz0vSWO69wA+U7hr/kIkSndgsHFxOwJNaUL7qYUer z4EvK0s9wR/nv/z318R/fqFp004OmIoo4Da/bR6wN6H/s0AXBQ/oMEo7Q8OQyZF7wP160i MixC46fR/3aXW4KJahJaKA08D7M/iy5pTCCoSlLX1G4gFUGoz3bJVUNnvWYYRKikhUul0h NPm+yEALllBGqJsvdrxMb0Ij7tYbahLD4EfoYHIpUBfh55aloDGWandWN5rAoPz8OebzYq U4GMWByuSkpki0hsARnulVcFD0bmXP74KczhyoYJ2D+ZR41489xvtfn1sb+UVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784548810; a=rsa-sha256; cv=none; b=gMP817nHHAq8t1l3fyJeFziAstDG+A9ZGbuTditpRbMp0cjAdFIg/AWKFZAFFnuWPEbHxE O9C7B/wQ1fJ1kPUJLF1KdZ8HwfwQM5EHQFmnvPXAlWPnix22aCD3SRBIicRsTBTyWdpVfl 9Gx0HBxLfxha586JqwEe+UUiHYjr+6q/JUu+Am7LkJ2GndYrSxo3vTn0nw5qkVJdq0C1Mm h/ZjMDOG/vYNXIUn+/IWjHu8/Wk4yI/9+moya072gqyuiwV20yQELMSdZHsOPIm57J3Tse m3cW/kIJNggeieObGho1qUEWgglO37LvO5dx243wDPGNaT+FmrEXiJuPP0wbIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784548810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6M+6QaXh2geeJkteow8v0U0bjWkCm/tZ/O5RduY5d+k=; b=mnE6PrOsRv1mQedZhrSeBjIR/iXYtzudJtb3tlEFhVFkD+wWDN1IkFRdarpZeTIutt6hY0 asGU/uJCTioncnJm5zoQ7G2YMKdmKrkVxDggjHNy1LKQPPEIhmgvDlRbPSOTdzGz3P8pRw IbA+h224MnNI1pDg7BnJWlvwQSzDGKbvrIHhvl+aTfa8/NRdI/bqkLfvSKnRYSN1ovkpmd H+aXWYRPs7gtbYQWetF3gATCXF2OjPQpCGgN/d1+Kf71y4/V8U0DZDrjhKPpvrhE9A67KA AqI16dsyqSZ85QbfFRvuatrKyy9LeqEzosD2AF03OgDzW/6xNBm+ErwKfw7qXw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h3fGK5lYPz11Jk for ; Mon, 20 Jul 2026 12:00:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3bf63 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 20 Jul 2026 12:00:09 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Cc: Yohello1 From: Lorenzo Salvadore Subject: git: 3ca50b91ef - main - Status/2026Q2/rocm.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3ca50b91ef828366feb66963de511dc4994fec3b Auto-Submitted: auto-generated Date: Mon, 20 Jul 2026 12:00:09 +0000 Message-Id: <6a5e0dc9.3bf63.2b20d31d@gitrepo.freebsd.org> The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=3ca50b91ef828366feb66963de511dc4994fec3b commit 3ca50b91ef828366feb66963de511dc4994fec3b Author: Yohello1 AuthorDate: 2026-07-13 16:50:58 +0000 Commit: Lorenzo Salvadore CommitDate: 2026-07-20 11:59:36 +0000 Status/2026Q2/rocm.adoc: Add report Pull Request: https://github.com/freebsd/freebsd-doc/pull/698 --- .../en/status/report-2026-04-2026-06/rocm.adoc | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/website/content/en/status/report-2026-04-2026-06/rocm.adoc b/website/content/en/status/report-2026-04-2026-06/rocm.adoc new file mode 100644 index 0000000000..f6f763cb8e --- /dev/null +++ b/website/content/en/status/report-2026-04-2026-06/rocm.adoc @@ -0,0 +1,25 @@ +=== ROCm support on FreeBSD + +Links: + +link:https://github.com/Yohello1/drm-kmod-rocm/tree/super-special[drm-kmod fork with partial amdkfd support] URL: link:https://github.com/Yohello1/drm-kmod-rocm/tree/super-special[] + +link:https://github.com/Yohello1/rocm-systems[rocm-systems fork with fixes for FreeBSD] URL: link:github.com/Yohello1/rocm-systems[] + + + +Contact: Sourojeet Adhikari + +ROCm is the compute platform used by AMD for their GPUs. As of now, FreeBSD does not support ROCm at all, neither at the toolchain level nor at the driver level. +I am working to change that and upstream the required changes. + +To my knowledge, on FreeBSD there are a few ways to run compute loads (like AI/ML, graphics, etc) on the GPU; those ways, to my knowledge, are Vulkan and OpenGL. +Both Vulkan and OpenGL are fairly good for compute workloads, namely in graphics and sometimes machine learning loads too. +But sometimes there are tasks which are not well-suited for Vulkan and OpenGL, and are instead done in ROCm/CUDA because ROCm and CUDA give the developer a lot more control over how the task is done. +So I am trying to introduce ROCm support to FreeBSD so we can run ROCm code/programs on FreeBSD. +There are a few things we need working to get ROCm working. +The first is AMD's LLVM fork, which I have patched, gotten working, and have upstreamed the patches. +Next are the ROCm runtimes, which have been patched, and I am currently working on upstreaming the patches. +Finally is the amdkfd driver, which I am working on patching, and am upstreaming some of the LinuxKPI-related patches back to the FreeBSD kernel. + +As of late, I have upstreamed changes to AMD's LLVM fork allowing the compilation of their fork on FreeBSD so you can build their ROCm toolchain. +Beyond that, I have worked on getting a series of patches into LinuxKPI to slowly bring in amdkfd support. + +Sponsor: The FreeBSD Foundation