Skip to content

Commit

Permalink
Squashed 'fin/' changes from 53d2563fe..a30a51bc6
Browse files Browse the repository at this point in the history
a30a51bc6 remove unused header
7d2fd834c reduce scope of variable
f6e9abe79 clang format
834e9a397 remove comment
c8d6eb1a0 workspace rename
aa7d2ea24 Merge remote-tracking branch 'origin/develop' into cderb/miopen_perf
aaf13fb12 add to print for debug
ebd9aa6bd update member name (#43)
34e11fa70 Merge remote-tracking branch 'origin/develop' into cderb/miopen_perf
cb6c19d13 add search+update directives to execution context, add json examples for perf eval
85029077b connecting new fin functions for perf eval
d6d798efe add cu count (#39)
8e1989a9f Add find option for selecting only dynamic solvers (#38)
4d1e031fd add outputs and definitions
952538cb8 adding perf eval function, in progress
0e164bf66 setting json version (#37)
617dccd9c rename
5c35ae886 fixes for collecting kernel blobs
5cfea7c43 syntax fixes
2f2a4ed9f add test file
7175019f5 first rendition of perf_compile
f3f7fed18 Remove function redefinition (#36)
e1de51a58 Performance DB de-serialize test (#34)
043cdcdaa Layout support in Fin (#33)
3a1d58236 Hotfix (#32)
ee3f0d543 4.4 Tuning Bugfixes (#31)
832dbe234 Tunability Reporting (#27)
a564a229f include gfx90a_110 (#28)

git-subtree-dir: fin
git-subtree-split: a30a51bc6b4e3b1dedf6a37b429b287abf5784fc
  • Loading branch information
cderb committed Mar 8, 2022
1 parent 8e0a630 commit 3844958
Show file tree
Hide file tree
Showing 15 changed files with 1,636 additions and 63 deletions.
13 changes: 5 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,6 @@ set_property( CACHE FIN_BACKEND PROPERTY STRINGS
# HIP is always required
find_package(hip REQUIRED PATHS /opt/rocm)
find_package(rocblas REQUIRED PATHS /opt/rocm)
# probably not required
target_flags(HIP_COMPILER_FLAGS hip::device)
# Remove cuda arch flags
string(REGEX REPLACE --cuda-gpu-arch=[a-z0-9]+ "" HIP_COMPILER_FLAGS "${HIP_COMPILER_FLAGS}")

message(STATUS "Hip compiler flags: ${HIP_COMPILER_FLAGS}")

add_definitions("-DHIP_COMPILER_FLAGS=${HIP_COMPILER_FLAGS}")

# OpenCL 1.2
if( FIN_BACKEND STREQUAL "OpenCL")
Expand Down Expand Up @@ -208,6 +200,8 @@ elseif(FIN_BACKEND STREQUAL "HIP")
set(MIOPEN_TIDY_ERRORS ALL)
endif()

if(NOT MIOPEN_ENABLE_FIN)
message("MIOPEN_ENABLE_FIN is NOT SET")
include(ClangTidy)
enable_clang_tidy(
CHECKS
Expand Down Expand Up @@ -329,6 +323,9 @@ enable_cppcheck(
MIOPEN_USE_MIOPENGEMM=1
__linux__=1
)
else()
message("MIOPEN_ENABLE_FIN is SET")
endif()

set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
Expand Down
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ RUN dpkg --add-architecture i386
# Add rocm repository
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y curl apt-utils wget gnupg2
RUN curl https://raw.githubusercontent.com/RadeonOpenCompute/ROCm-docker/master/add-rocm.sh | bash

#RUN curl https://raw.githubusercontent.com/RadeonOpenCompute/ROCm-docker/master/add-rocm.sh | bash
ARG ROCMVERSION=4.5
ARG DEB_ROCM_REPO=http://repo.radeon.com/rocm/apt/.apt_$ROCMVERSION/
RUN wget -qO - http://repo.radeon.com/rocm/rocm.gpg.key | apt-key add -
RUN sh -c "echo deb [arch=amd64] $DEB_ROCM_REPO ubuntu main > /etc/apt/sources.list.d/rocm.list"

# Install dependencies required to build hcc
# Ubuntu csomic contains llvm-7 required to build Tensile
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RadeonOpenCompute/rocm-cmake@cdd0f632b3a65bd4411593bb827eb664e25c80bc --build
# ROCmSoftwarePlatform/MIOpen@9b2d37f9f1e4b5492ef8256cf8168363ca5fd2da
nlohmann/json
nlohmann/json@v3.10.4
#ROCmSoftwarePlatform/rocBLAS@9790a8658341bc665c11c311129ad0dfc533d5c4

Loading

0 comments on commit 3844958

Please sign in to comment.