Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705712 - sci-libs/tensorflow - enable rocm backend support for AMD video cards
Summary: sci-libs/tensorflow - enable rocm backend support for AMD video cards
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-18 09:36 UTC by Igor Ulyanov
Modified: 2021-09-22 20:50 UTC (History)
6 users (show)

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


Attachments
Modified tensorflow-9999 ebuild (tensorflow-9999.ebuild,13.20 KB, text/plain)
2020-01-28 20:06 UTC, Miroslav Piskor
Details
Tensorflow ROCm bazel config patch (tensorflow-rocm-3.0.0_configure_bazel.patch,11.57 KB, patch)
2020-01-28 20:11 UTC, Miroslav Piskor
Details | Diff
Modified ebuild from justxi overlay (amd-rocm-meta-3.0.0.ebuild,1.37 KB, text/plain)
2020-01-28 20:40 UTC, Miroslav Piskor
Details
Tensorflow ROCm bazel config patch (tensorflow-rocm-3.0.0_configure_bazel.patch,11.65 KB, patch)
2020-01-29 17:11 UTC, Igor Ulyanov
Details | Diff
Tensorflow ROCm bazel config patch (tensorflow-rocm-3.3.0_configure_bazel.patch,13.45 KB, patch)
2020-05-23 18:35 UTC, wippie
Details | Diff
Hip rocm path patch (hip-3.3.0-ROCM_PATH-LIB_PATH.patch,1.83 KB, patch)
2020-08-18 19:00 UTC, Miroslav Piskor
Details | Diff
Tensorflow 2.2.0 ebuild (tensorflow-2.2.0.ebuild,14.32 KB, text/plain)
2020-08-18 19:00 UTC, Miroslav Piskor
Details
Workspace patch (0001-WORKSPACE-add-rules-docker-http_archive-bazel-toolch.patch,1.16 KB, patch)
2020-08-18 19:01 UTC, Miroslav Piskor
Details | Diff
0003-systemlibs-jsoncpp-fix-include-path patch (0003-systemlibs-jsoncpp-fix-include-path.patch,5.91 KB, patch)
2020-08-18 19:02 UTC, Miroslav Piskor
Details | Diff
tensorflow-2.1.0-python3.8-pywrap_tensor.patch (tensorflow-2.1.0-python3.8-pywrap_tensor.patch,666 bytes, patch)
2020-08-18 19:02 UTC, Miroslav Piskor
Details | Diff
tensorflow-2.2.0-remove-bazel_version_repository.patch (tensorflow-2.2.0-remove-bazel_version_repository.patch,286 bytes, patch)
2020-08-18 19:03 UTC, Miroslav Piskor
Details | Diff
tensorflow-2.2_rc4-rocm-3.3.0_cc_toolchain.patch (tensorflow-2.2_rc4-rocm-3.3.0_cc_toolchain.patch,1.76 KB, patch)
2020-08-18 19:03 UTC, Miroslav Piskor
Details | Diff
tensorflow-2.2_rc4-rocm-3.3.0_configure_bazel.patch (tensorflow-2.2_rc4-rocm-3.3.0_configure_bazel.patch,11.45 KB, patch)
2020-08-18 19:03 UTC, Miroslav Piskor
Details | Diff
tensorflow-2.2_rc4-rocm-3.3.0_hipcc_toolchain.patch (tensorflow-2.2_rc4-rocm-3.3.0_hipcc_toolchain.patch,1.64 KB, patch)
2020-08-18 19:04 UTC, Miroslav Piskor
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Ulyanov 2020-01-18 09:36:16 UTC
sci-libs/tensorflow have a rocm backend support for AMD video cards. It would be nice if we have a rocm use flag to enable this feature.

Reproducible: Always
Comment 1 Miroslav Piskor 2020-01-28 20:06:47 UTC
Created attachment 607168 [details]
Modified tensorflow-9999 ebuild
Comment 2 Miroslav Piskor 2020-01-28 20:11:47 UTC
Created attachment 607170 [details, diff]
Tensorflow ROCm bazel config patch
Comment 3 Miroslav Piskor 2020-01-28 20:35:55 UTC
Hi,
I have been trying to build tensorflow with ROCm for some time. I was able to make patch for bazel configure file, so tensorflow build process starts OK, but after a some time build always fail at the same include file, gpu_device_functions.h.
I tried tensorflow 2.0, 2.1 with different versions of ROCM since 2.8 from Gentoo portage and https://github.com/justxi/rocm, but build alwas failed.

The errors below comes from included ebuild and patch.

In file included from ./tensorflow/core/util/gpu_kernel_helper.h:25:
./tensorflow/core/util/gpu_device_functions.h:110:34: error: use of undeclared identifier 'blockIdx'
  return detail::GpuGridRange<T>(blockIdx.x * blockDim.x + threadIdx.x,
                                 ^
./tensorflow/core/util/gpu_device_functions.h:110:47: error: use of undeclared identifier 'blockDim'
  return detail::GpuGridRange<T>(blockIdx.x * blockDim.x + threadIdx.x,
                                              ^
./tensorflow/core/util/gpu_device_functions.h:110:60: error: use of undeclared identifier 'threadIdx'
  return detail::GpuGridRange<T>(blockIdx.x * blockDim.x + threadIdx.x,
                                                           ^
./tensorflow/core/util/gpu_device_functions.h:111:34: error: use of undeclared identifier 'gridDim'
                                 gridDim.x * blockDim.x, count);
                                 ^
./tensorflow/core/util/gpu_device_functions.h:111:46: error: use of undeclared identifier 'blockDim'
                                 gridDim.x * blockDim.x, count);
                                             ^
./tensorflow/core/util/gpu_device_functions.h:119:34: error: use of undeclared identifier 'blockIdx'
  return detail::GpuGridRange<T>(blockIdx.y * blockDim.y + threadIdx.y,
                                 ^
./tensorflow/core/util/gpu_device_functions.h:119:47: error: use of undeclared identifier 'blockDim'
  return detail::GpuGridRange<T>(blockIdx.y * blockDim.y + threadIdx.y,
                                              ^
./tensorflow/core/util/gpu_device_functions.h:119:60: error: use of undeclared identifier 'threadIdx'
  return detail::GpuGridRange<T>(blockIdx.y * blockDim.y + threadIdx.y,
                                                           ^
./tensorflow/core/util/gpu_device_functions.h:120:34: error: use of undeclared identifier 'gridDim'
                                 gridDim.y * blockDim.y, count);
                                 ^
./tensorflow/core/util/gpu_device_functions.h:120:46: error: use of undeclared identifier 'blockDim'
                                 gridDim.y * blockDim.y, count);
                                             ^
./tensorflow/core/util/gpu_device_functions.h:128:34: error: use of undeclared identifier 'blockIdx'
  return detail::GpuGridRange<T>(blockIdx.z * blockDim.z + threadIdx.z,
                                 ^
./tensorflow/core/util/gpu_device_functions.h:128:47: error: use of undeclared identifier 'blockDim'
  return detail::GpuGridRange<T>(blockIdx.z * blockDim.z + threadIdx.z,
                                              ^
./tensorflow/core/util/gpu_device_functions.h:128:60: error: use of undeclared identifier 'threadIdx'
  return detail::GpuGridRange<T>(blockIdx.z * blockDim.z + threadIdx.z,
                                                           ^
./tensorflow/core/util/gpu_device_functions.h:129:34: error: use of undeclared identifier 'gridDim'
                                 gridDim.z * blockDim.z, count);
                                 ^
./tensorflow/core/util/gpu_device_functions.h:129:46: error: use of undeclared identifier 'blockDim'
                                 gridDim.z * blockDim.z, count);
                                             ^
./tensorflow/core/util/gpu_device_functions.h:149:13: error: use of undeclared identifier '__lane_id'
  lane_id = __lane_id();
            ^
./tensorflow/core/util/gpu_device_functions.h:177:7: error: use of undeclared identifier '__shfl'
      __shfl(static_cast<int>(mask), static_cast<int>(src_lane));
      ^
./tensorflow/core/util/gpu_device_functions.h:254:10: error: use of undeclared identifier '__ballot'
  return __ballot(pred) & mask;  // Apply mask to match __ballot_sync's spec.
         ^
./tensorflow/core/util/gpu_device_functions.h:266:10: error: use of undeclared identifier '__any'
  return __any(pred);
         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.


Portage 2.3.84 (python 3.6.9-final-0, default/linux/amd64/17.1/hardened, gcc-9.2.0, glibc-2.30-r3, 5.4.15-gentoo x86_64)
=================================================================
System uname: Linux-5.4.15-gentoo-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-gentoo-2.6
KiB Mem:    32868240 total,  24432948 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Tue, 28 Jan 2020 17:45:01 +0000
Head commit of repository gentoo: 272453850e553e9f4eae0055d0719ac9e4f77ab3
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 3.7.6 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::misc, 3.7.5-r1::gentoo
dev-util/ccache:          3.7.6::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r3::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

crossdev
    location: /usr/local/portage/crossdev
    masters: gentoo
    priority: 10

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: 10
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

brother-overlay
    location: /var/lib/layman/brother-overlay
    sync-type: laymansync
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 50

misc
    location: /usr/local/portage/misc
    masters: gentoo
    priority: 90

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -ftree-vectorize -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -ftree-vectorize -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ http://gentoo.wheel.sk/ ftp://gentoo.wheel.sk/pub/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j17"
PKGDIR="/var/tmp/pkg/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr clang cli crypt cups cxx dbus declarative dri dts dvd dvdr elogind emboss encode exif fam flac fortran gdbm gif glamor gpm gtk hardened iconv icu ipv6 jpeg kde kipi lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pcsc-lite pdf pgo phonon pie plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl ssp startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l vdpau vorbis vulkan wayland widgets x264 xattr xcb xcomposite xml xtpax xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" CALLIGRA_FEATURES="sheets stage words" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LLVM_TARGETS="AMDGPU BPF X86 AArch64 ARM" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I hope that that modified ebuild and patch can help someone to continue.
Comment 4 Miroslav Piskor 2020-01-28 20:40:47 UTC
Created attachment 607176 [details]
Modified ebuild from justxi overlay
Comment 5 Miroslav Piskor 2020-01-28 20:50:21 UTC
I was able to reproduce also second kind of build failure.

In file included from /usr/include/rocprim/intrinsics.hpp:27:
/usr/include/rocprim/intrinsics/atomic.hpp:33:16: error: no member named 'atomicAdd' in the global namespace; did you mean 'atomic_add'?
        return ::atomicAdd(address, value);
               ^~
/usr/include/rocprim/intrinsics/atomic.hpp:31:18: note: 'atomic_add' declared here
    unsigned int atomic_add(unsigned int * address, unsigned int value)
                 ^
/usr/include/rocprim/intrinsics/atomic.hpp:39:16: error: no member named 'atomicAdd' in the global namespace; did you mean 'atomic_add'?
        return ::atomicAdd(address, value);
               ^~
/usr/include/rocprim/intrinsics/atomic.hpp:37:9: note: 'atomic_add' declared here
    int atomic_add(int * address, int value)
        ^
/usr/include/rocprim/intrinsics/atomic.hpp:45:16: error: no member named 'atomicAdd' in the global namespace; did you mean 'atomic_add'?
        return ::atomicAdd(address, value);
               ^~
/usr/include/rocprim/intrinsics/atomic.hpp:43:11: note: 'atomic_add' declared here
    float atomic_add(float * address, float value)
          ^
/usr/include/rocprim/intrinsics/atomic.hpp:51:16: error: no member named 'atomicAdd' in the global namespace; did you mean 'atomic_add'?
        return ::atomicAdd(address, value);
               ^~
/usr/include/rocprim/intrinsics/atomic.hpp:49:24: note: 'atomic_add' declared here
    unsigned long long atomic_add(unsigned long long * address, unsigned long long value)
                       ^
/usr/include/rocprim/intrinsics/atomic.hpp:57:18: error: no member named 'atomicInc' in the global namespace
        return ::atomicInc(address, value);
               ~~^
/usr/include/rocprim/intrinsics/atomic.hpp:63:16: error: no member named 'atomicExch' in the global namespace; did you mean 'atomic_exch'?
        return ::atomicExch(address, value);
               ^~
/usr/include/rocprim/intrinsics/atomic.hpp:61:18: note: 'atomic_exch' declared here
    unsigned int atomic_exch(unsigned int * address, unsigned int value)
                 ^
/usr/include/rocprim/intrinsics/atomic.hpp:69:16: error: no member named 'atomicExch' in the global namespace; did you mean 'atomic_exch'?
        return ::atomicExch(address, value);
               ^~
/usr/include/rocprim/intrinsics/atomic.hpp:67:24: note: 'atomic_exch' declared here
    unsigned long long atomic_exch(unsigned long long * address, unsigned long long value)
                       ^
In file included from tensorflow/core/kernels/histogram_op_gpu.cu.cc:24:
In file included from bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/hipcub/hipcub.hpp:31:
In file included from bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/hipcub/config.hpp:50:
In file included from /usr/include/rocprim/rocprim.hpp:33:
In file included from /usr/include/rocprim/intrinsics.hpp:28:
/usr/include/rocprim/intrinsics/bit.hpp:44:12: error: use of undeclared identifier '__popc'
    return __popc(x);
           ^
/usr/include/rocprim/intrinsics/bit.hpp:53:12: error: use of undeclared identifier '__popcll'
    return __popcll(x);
           ^
In file included from tensorflow/core/kernels/histogram_op_gpu.cu.cc:24:
In file included from bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/hipcub/hipcub.hpp:31:
In file included from bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/hipcub/config.hpp:50:
In file included from /usr/include/rocprim/rocprim.hpp:33:
In file included from /usr/include/rocprim/intrinsics.hpp:29:
/usr/include/rocprim/intrinsics/thread.hpp:42:12: error: use of undeclared identifier 'warpSize'
    return warpSize;
           ^
/usr/include/rocprim/intrinsics/thread.hpp:40:24: error: no return statement in constexpr function
constexpr unsigned int warp_size()
                       ^
/usr/include/rocprim/intrinsics/thread.hpp:49:12: error: use of undeclared identifier 'hipBlockDim_z'
    return hipBlockDim_z * hipBlockDim_y * hipBlockDim_x;
           ^
/usr/include/rocprim/intrinsics/thread.hpp:49:28: error: use of undeclared identifier 'hipBlockDim_y'
    return hipBlockDim_z * hipBlockDim_y * hipBlockDim_x;
                           ^
/usr/include/rocprim/intrinsics/thread.hpp:49:44: error: use of undeclared identifier 'hipBlockDim_x'
    return hipBlockDim_z * hipBlockDim_y * hipBlockDim_x;
                                           ^
/usr/include/rocprim/intrinsics/thread.hpp:65:12: error: no member named '__lane_id' in the global namespace; did you mean 'lane_id'?
    return ::__lane_id();
           ^~
/usr/include/rocprim/intrinsics/thread.hpp:63:14: note: 'lane_id' declared here
unsigned int lane_id()
             ^
/usr/include/rocprim/intrinsics/thread.hpp:72:13: error: use of undeclared identifier 'hipThreadIdx_z'
    return (hipThreadIdx_z * hipBlockDim_y * hipBlockDim_x)
            ^
/usr/include/rocprim/intrinsics/thread.hpp:72:30: error: use of undeclared identifier 'hipBlockDim_y'
    return (hipThreadIdx_z * hipBlockDim_y * hipBlockDim_x)
                             ^
/usr/include/rocprim/intrinsics/thread.hpp:72:46: error: use of undeclared identifier 'hipBlockDim_x'
    return (hipThreadIdx_z * hipBlockDim_y * hipBlockDim_x)
                                             ^
/usr/include/rocprim/intrinsics/thread.hpp:73:12: error: use of undeclared identifier 'hipThreadIdx_y'
        + (hipThreadIdx_y * hipBlockDim_x)
           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Comment 6 Igor Ulyanov 2020-01-29 17:11:26 UTC
Created attachment 607334 [details, diff]
Tensorflow ROCm bazel config patch

For those having this failure: 

patching file third_party/gpus/rocm_configure.bzl
Hunk #3 FAILED at 191.


Patch with removed additional line:

- inc_dirs.append(rocm_config.rocm_toolkit_path + "/llvm/lib/clang/11.0.0/include")
Comment 7 wippie 2020-05-23 18:35:44 UTC
Created attachment 641240 [details, diff]
Tensorflow ROCm bazel config patch

Tried to update the patch to fit Tensorflow-2.2.0 and ROCm-3.3.0. Some work remains.
Comment 8 Miroslav Piskor 2020-08-18 18:58:31 UTC
Hi,
I finally succeed build tensorflow-2.2.0 with ROCm 3.3.

It was necessary to use ar wrapper, https://medium.com/analytics-vidhya/compiling-tensorflow-from-the-source-when-your-compiler-is-in-a-non-standard-location-194fecc92153 and add patch to hip ebuild, hip-3.3.0-ROCM_PATH-LIB_PATH.patch.

I'm not interested in tensorflow anymore, maybe someone will continue.
Comment 9 Miroslav Piskor 2020-08-18 19:00:07 UTC
Created attachment 655374 [details, diff]
Hip rocm path patch
Comment 10 Miroslav Piskor 2020-08-18 19:00:51 UTC
Created attachment 655376 [details]
Tensorflow 2.2.0 ebuild
Comment 11 Miroslav Piskor 2020-08-18 19:01:34 UTC
Created attachment 655378 [details, diff]
Workspace patch
Comment 12 Miroslav Piskor 2020-08-18 19:02:10 UTC
Created attachment 655380 [details, diff]
0003-systemlibs-jsoncpp-fix-include-path patch
Comment 13 Miroslav Piskor 2020-08-18 19:02:30 UTC
Created attachment 655382 [details, diff]
tensorflow-2.1.0-python3.8-pywrap_tensor.patch
Comment 14 Miroslav Piskor 2020-08-18 19:03:01 UTC
Created attachment 655384 [details, diff]
tensorflow-2.2.0-remove-bazel_version_repository.patch
Comment 15 Miroslav Piskor 2020-08-18 19:03:24 UTC
Created attachment 655386 [details, diff]
tensorflow-2.2_rc4-rocm-3.3.0_cc_toolchain.patch
Comment 16 Miroslav Piskor 2020-08-18 19:03:51 UTC
Created attachment 655388 [details, diff]
tensorflow-2.2_rc4-rocm-3.3.0_configure_bazel.patch
Comment 17 Miroslav Piskor 2020-08-18 19:04:14 UTC
Created attachment 655390 [details, diff]
tensorflow-2.2_rc4-rocm-3.3.0_hipcc_toolchain.patch
Comment 18 perestoronin 2020-08-30 04:42:47 UTC
tensorflow updated to 2.3.0 and rocm to 3.7.0

and some patches exists to AUR BUILD for rocm

but need rocm_configure.bzl adopt to gentoo enviroment and rocm 3.7.0

may be help me ?