Package: miopen / 5.5.1+dfsg2-3

Metadata

Package Version Patches format
miopen 5.5.1+dfsg2-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 clang 17.patch | (download)

CMakeLists.txt | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 clang-17

On Debian, the default clang toolchain is not HIP-enabled at the
moment. For HIP support, you need to use clang-17.

0002 use system hip config.patch | (download)

cmake/hip-config.cmake | 122 0 + 122 - 0 !
fin/cmake/hip-config.cmake | 122 0 + 122 - 0 !
2 files changed, 244 deletions(-)

 use system hip-config

These files duplicate functionality provided by libamdhip64-dev, but
without the necessary changes for Debian. It's better to just not use
them.

0003 disable optimizations for kernel index.patch | (download)

src/CMakeLists.txt | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 disable optimizations for kernel index

This file will cause the clang frontend to crash if built with
optimizations.

0004 remove assembly code integration.patch | (download)

src/CMakeLists.txt | 132 0 + 132 - 0 !
1 file changed, 132 deletions(-)

 remove assembly code integration

ASM kernel codes are artifacts generated from AMD proprietory sources, which violates DFSG.
Hence we exclude them from source package here.

0005 skip missing LFS files.patch | (download)

CMakeLists.txt | 25 15 + 10 - 0 !
1 file changed, 15 insertions(+), 10 deletions(-)

 skip missing lfs files

We exclude all the `.bz2` kdb files, but original CMakeLists.txt tries to read the content to check whether the LFS file has been pulled.
This commit modifies the CMakeLists.txt to skip this step.

0006 disable utils subdirectory.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
test/gtest/CMakeLists.txt | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 disable utils subdirectory

We don't need the script in the utils directory.

0007 specify the gpu arch for hipRTC.patch | (download)

src/comgr.cpp | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 specify the gpu arch for hiprtc

hipRTC requires the GPU architecture to be specified when JIT-ing the code.

0008 disable gcn asm kernels.patch | (download)

src/execution_context.cpp | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 disable gcn asm kernels

As we exclude all ASM kernels from MIOpen, this patch modifies the MIOpen runtime config process
to prevent it from searching these ASM kernels when finding solution.

0009 keep debug symbols on release build.patch | (download)

CMakeLists.txt | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 keep debug symbols on release build

Add a CMake option to control whether to strip debug symbols when building under release mode.

0010 enable build exe by default.patch | (download)

addkernels/CMakeLists.txt | 2 1 + 1 - 0 !
test/CMakeLists.txt | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 enable build exe by default

Build the test_* executable targets by default.