Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900721 - rocm packaging: the stack in version 5 lacks rocm_version.h
Summary: rocm packaging: the stack in version 5 lacks rocm_version.h
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-10 14:02 UTC by Jan-Matthias Braun
Modified: 2023-04-29 18:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Matthias Braun 2023-03-10 14:02:00 UTC
I am trying to compile tensorflow with rocm support, building on bug 705712 - sci-libs/tensorflow - enable rocm backend support for AMD video cards.

A lot of the patches needed seem to be around the location of rocm headers in gentoo, a file which is completely missing is rocm_version.h. I assume that it is actually difficult to clearly define the rocm version when different parts of the stack come in different versions (rocm runtimes vs numerics libraries). Still, tensorflow expects this file to be present.

How is the intended use of rocm in Gentoo in that regard?

Reproducible: Always

Steps to Reproduce:
1. Patch tensorflow ebuild & tensorflow to enable rocm support
2. Try to emerge it
Comment 1 Simon 2023-04-29 18:27:01 UTC
I have the same problem of missing rocm_version.h header when trying to compile caffe2/pytorch with rocm.