Commit Graph

70 Commits

Author SHA1 Message Date
Illia Silin
7e537fd72f Upgrade to ROCm7.0.1 compiler. (#2909)
* upgrade default docker to rocm7.0.1

* turn on build and test on gfx950 by default

* use rocm-dev instead of rocm

* link libhiprtc for codegen targets

* resolving codegen compilation errors: removed calls to other std functions, resolved issues with int32_t: needed the correct header, put use of e8m0 into header guards

---------

Co-authored-by: Astha Rai <astha.rai713@gmail.com>

[ROCm/composable_kernel commit: 8fe3838c65]
2025-09-24 10:00:53 -07:00
Illia Silin
24f228df3b upgrade from clang-format-12 to clang-format-18 (#2568)
* upgrade to clang-format-18

* update to clang-format-18 in pre-commit-config

[ROCm/composable_kernel commit: 504b101da3]
2025-07-28 11:34:07 -07:00
Vidyasagar Ananthan
1d775aeb2f New ninja tracing script (#2472)
* Adding ninja log json convertion utility

* Updating to match old ninjatracing

* Updating Jenkins to use new ninjatracing

* Ensuring v7 works

* Removing old ninjatracing from dockerfile

[ROCm/composable_kernel commit: e391b025a0]
2025-07-08 22:36:50 -07:00
Illia Silin
f973621968 Upgrade to ROCm6.4.1 and use generic targets for gfx1x. (#2274)
* upgrade to rocm6.4.1 and use gfx1x-generic targets

* add rocm version parsing

* fix the gfx10-3-generic syntax in cmake

[ROCm/composable_kernel commit: b76fdbe47f]
2025-06-03 07:17:35 -07:00
Max Podkorytov
55ebbab430 try building ck4inductor and testing it inside a virtual environment (#2142)
use system virtualenv

use python-full ubuntu package in docker image

---------

Co-authored-by: illsilin <Illia.Silin@amd.com>
Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com>

[ROCm/composable_kernel commit: 6601931949]
2025-04-29 17:22:38 -07:00
Illia Silin
b4edc2ef70 Run CI jobs as user jenkins (#2141)
* run CI as jenkins

* remove user jenkins from docker image

* move inductor installation to a writeable path

* add a switch for inductor tests

[ROCm/composable_kernel commit: 8fcb4dff1a]
2025-04-29 07:35:10 -07:00
Illia Silin
bf57a9a5f3 Upgrade default docker to Ubuntu24.04 (#2090)
* upgrade docker to Ubuntu24.04

* add break-system-packages flag to pip install

* fix dockerfile

[ROCm/composable_kernel commit: 3bb62f16cd]
2025-04-16 12:10:15 -07:00
Illia Silin
49e4ad3278 Upgrade default docker image to ROCm6.4 release. (#2082)
* upgrade to rocm6.4

* fix gfx10 generic target syntax

* use gfx1101 target for unit tests

* use gfx1201 target for unit tests

* do not use generic targets until 6.4.1 release

* update target list and dockerfile.compiler

[ROCm/composable_kernel commit: d55c9cb313]
2025-04-14 16:41:47 -07:00
Illia Silin
21af4139ad Enable ClangBuildAnalizer when doing ninja build traces. (#2009)
* enable ClangBuildAnalizer when doing ninja traces

* add branch and date to clang build log name

* fix jenkins syntax

* fix jenkins syntax once more

* fix jenkins syntax once more

* simplify the clang_build log name

* simplify the clang_build log name further

[ROCm/composable_kernel commit: 44c093ba0c]
2025-03-25 12:27:04 -07:00
Max Podkorytov
971203e15a fix parsing instances for pt inductor (#1796)
add unit test for gen instances for gemms

add unit tests for conv and batched gemms

add unit test for preselected gemm instances

apply ruff lint

add license header for the unit test

add inductor pytest to CI

verbose pip install

switch the directory before installing python packages

move the inductor codegen test

try yet another workdir

Update Jenkinsfile

The directory looks right, fixing pip module not found by invoking pip directly

Update Jenkinsfile

invoke pytest directly since the module is not found

Update Dockerfile

Install setuptools

update package structure

bump setuptools

maybe fix data path for library sources

fix library search path for conv instances

fix path in pyproject definition

compare path used in gen_instances with one in pyproject.toml; fix the difference

Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com>

[ROCm/composable_kernel commit: c0b90f130f]
2025-01-13 13:51:08 -08:00
Illia Silin
d9040038bc upgrade sqlalchemy version (#1748)
* upgrade sqlalchemy version

* replace the connection with engine in to_sql call

* change the hipTes=nsor ctest syntax

[ROCm/composable_kernel commit: fdfe210230]
2024-12-15 16:25:21 -08:00
Illia Silin
4a67ccef6d upgrade pandas package (#1746)
[ROCm/composable_kernel commit: d68974a5c6]
2024-12-13 16:30:39 -08:00
Illia Silin
d1e029be5e Add zstd lib for building hipTensor. (#1745)
* add zstd library to CI docker

* fix the libzstd name

[ROCm/composable_kernel commit: 41ebf117a5]
2024-12-13 16:30:22 -08:00
Illia Silin
fe12a2dc1a Upgrade to Ubuntu22.04 as default OS. (#1738)
* upgrade to ubuntu 22.04

* try adding -u roof docker options for ubuntu 22

[ROCm/composable_kernel commit: 90d8410d56]
2024-12-10 08:48:51 -08:00
Illia Silin
f001318d1f Upgrade default compiler to ROCm6.3 (#1723)
* upgrade to rocm6.3 compiler

* Proposed solution to convnd test failures in ROCm 6.3

---------

Co-authored-by: Andriy Roshchenko <andriy.roshchenko@amd.com>

[ROCm/composable_kernel commit: 86990558e3]
2024-12-05 17:29:12 -08:00
Illia Silin
fd183719a4 Reduce docker size and build time in CI. (#1699)
* refactor docker build in CI

* add Dockerfile.compiler

* add input args to Dockerfile.compiler

* rearrange the docker args

[ROCm/composable_kernel commit: aa6e2087f5]
2024-11-28 10:42:19 -08:00
Illia Silin
31e3b0ad98 update mainline compiler branch name (#1696)
[ROCm/composable_kernel commit: cb8c7f42d6]
2024-11-26 14:58:35 -08:00
Illia Silin
a56baa8aeb fix path of ninjatracing (#1685)
[ROCm/composable_kernel commit: 4c7035ff08]
2024-11-22 08:30:01 -08:00
Illia Silin
d42e9795ed Optimize docker file. (#1679)
* reduce the docker image size and layers

* clean up docker file

* fix linker error for client example 24

* install CK into the default /opt/rocm/ path

* restore installing CK to alternative path in CI

* add linking for utility lib

[ROCm/composable_kernel commit: d31e8249c1]
2024-11-20 14:01:04 -08:00
Illia Silin
2a9a3c062c test rocm6.3 rc1 build 20 (#1659)
[ROCm/composable_kernel commit: 489c78d073]
2024-11-12 09:35:33 -08:00
Illia Silin
8815f1f974 Add rocm6.3_rc1 docker image (#1518)
* add image for rocm6.3_rc1

* fix deb package url

[ROCm/composable_kernel commit: 1658c0dc11]
2024-09-17 15:59:26 -07:00
Illia Silin
30073ffa43 make sure to rebuild compilers if they changed (#1504)
[ROCm/composable_kernel commit: e07f1108c0]
2024-09-12 07:49:55 -07:00
Illia Silin
c456ad6420 add rocm-llvm-dev package to docker image (#1452)
[ROCm/composable_kernel commit: 8a75728406]
2024-08-08 07:29:13 -07:00
Illia Silin
b8eddc3771 upgrade to rocm6.2 as new default compiler (#1448)
[ROCm/composable_kernel commit: 5df10432d8]
2024-08-07 09:38:43 -07:00
Illia Silin
47f355e6fe add docker for rocm6.2_rc4 compiler (#1424)
[ROCm/composable_kernel commit: b527cad4a5]
2024-07-30 11:55:33 -07:00
Illia Silin
a2f40a3276 add docker for rocm6.2_rc3 (#1401)
[ROCm/composable_kernel commit: ab250afda0]
2024-07-18 09:41:33 -07:00
Illia Silin
bdb9044869 Adding a private docker for ROCm6.2 release candidate. (#1365)
* add private docker for rocm6.2_rc1

* update dockerfile

[ROCm/composable_kernel commit: fafa567b3c]
2024-06-27 11:09:00 -07:00
Illia Silin
8986d38014 Upgrade to ROCm6.1 and turn on the -enable-post-misched=0 compiler flag. (#1250)
* add rocm6.1 docker and make it default for CI

* fix typo

* move the rocm6.1 image into public dockerhub repo

[ROCm/composable_kernel commit: caae537d8e]
2024-04-18 11:10:23 -05:00
Illia Silin
cbc9a5c809 Fix a couple of docker issues. (#1206)
* do not install sccache by default, only install rocm-llvm-dev for rocm6.1

* add sccache flag to docker build options

[ROCm/composable_kernel commit: f52109531b]
2024-03-19 08:38:52 -07:00
Illia Silin
4844e407ee Re-enable the performance tracking in CI. (#1203)
* test CK with rocm6.1 RC2

* add docker credentials for pull

* update the performance db name

* use environment variable for db name

* add rocm-llvm-dev package to ck docker

* turn off verification for daily performance runs

* do not stash ckProfiler on MI300 node

* add processing of mixed gemms to qa, fix parsing of splitk gemm logs

* fix the splitk gemm log file name

* turn the timing on for splitk gemm performance

[ROCm/composable_kernel commit: bdcd037428]
2024-03-18 09:48:29 -07:00
Illia Silin
8921adfb39 upgrade the ccache version and update links (#1169)
[ROCm/composable_kernel commit: b9ab9f4b4f]
2024-02-15 15:46:01 -08:00
Illia Silin
a2bc19ab69 update the name of the compiler staging branch (#1148)
[ROCm/composable_kernel commit: 6651a124cc]
2024-01-30 13:55:31 -08:00
Illia Silin
4612139045 Add cppcheck to CK CI. (#1125)
* add cppcheck to the CK CI

* fix the path to CK source for cppcheck

* fix the path to CK source for cppcheck one more time

* fix the path to CK source for cppcheck third time

* change the path to ck_cppcheck.log

* install latest cppcheck from source

* fix bug in ck.hpp and use 20 threads for cppcheck

* create a switch to turn cppckeck on and off in CI

[ROCm/composable_kernel commit: e6d099c830]
2024-01-15 09:11:45 -08:00
Illia Silin
0a6a3c7490 fix dockerfile syntax for test compilers (#1120)
[ROCm/composable_kernel commit: 22db1e0865]
2024-01-05 13:54:40 -08:00
Illia Silin
d33e0c1afc Add a docker for testing CK with rocm6.0.1 RC1. (#1119)
* add docker for rocm6.0.1 rc1

* modify the path to clang for test compilers in CI

* fix the hipcc/clang path for test compilers in CI

* fix the dockerfile for older rocm versions

[ROCm/composable_kernel commit: d89700201b]
2024-01-05 08:01:33 -08:00
Illia Silin
59101c1b74 Upgrade the default compiler to ROCm6.0 release. (#1103)
* upgrade to rocm6.0 compiler

* move rocm6.0 from private to public repo

* switch to testing hipTensor mainline in CI

[ROCm/composable_kernel commit: dcedf3632f]
2023-12-16 09:17:40 -08:00
Illia Silin
97632b8da5 Add daily run with mainline compiler. (#1075)
* add daily build with mainline compiler

* fix the compiler paths for ci

* remove the -flto flag

* build with clang by default

[ROCm/composable_kernel commit: afe4622014]
2023-12-04 19:04:52 -08:00
Illia Silin
762f0c0d11 Enable sccache in the default docker and CI. (#1009)
* replace ccache with sccache, pin package versions

* put ccache back temporarily to avoid breaking other CI jobs

* add sccashe_wrapper.sh script

* fix the package version syntax

* fix the pymysql package issue

* run sccache_wrapper before build if ccache server found

* set the paths before calling the sccache_wrapper

* use /tmp instead of /usr/local for cache

* try using sccache --start-server instead of wrapper

* try using redis server with sccache

* define SCCACHE_REDIS

* add redis and ping packages, and redis port

* use the new sccache redis server

* do not use sccache with staging compiler

* fix the condition syntax

* add stunnel to redis

* add tunnel verification

* separate caches for different architectures

* fix syntax for the cache tag

* quse double brackets for conditions

* add bash line to the script

* add a switch for sccache and only use it in build stage

* run check_host function when enabling sccache

* fix the invocation tags for sccache

* fix groovy syntax

* set the invocation tag in groovy

* disable sccache in clang-format stage

* try another syntax for invocation tags

* use local sccache server if can't connect to redis

* fix script syntax

* update README

* refresh readme

* readme updates

* remove the timing and verification caveat from readme

---------

Co-authored-by: Lisa Delaney <lisa.delaney@amd.com>

[ROCm/composable_kernel commit: 4e44a9e8da]
2023-10-30 13:16:29 -07:00
Illia Silin
030da9b574 Add hipTensor build and test to CK CI. (#990)
* add a hipTensor test to CI

* use jenkins git plugin

* change hipTensor folder location in CI

* change the git method for hipTensor

* run tests usign ctest

* check the hipTensor contents

* only build hipTensor on MI100/200

* pull hipTensor as zip archive

* fix jenkins syntax

* add path to the CK installation

* combine build commands into one shell

* change jenkins syntax for CK installer path

* try different syntax

* allow unzip overwrite

* fix jenkins file syntax

* remove any old versions of hipTensor before building

* add option to select hipTensor branch for testing

[ROCm/composable_kernel commit: 707ad0025f]
2023-10-16 08:40:26 -07:00
Illia Silin
c0282c59cc get rid of gfx900/906, set rocm5.7 as default (#958)
[ROCm/composable_kernel commit: 59dbb01fd1]
2023-10-02 12:01:11 -07:00
Illia Silin
2f7d38e8bf fix the building of the amd-stg-open compiler (#927)
[ROCm/composable_kernel commit: 58817bf967]
2023-09-19 18:50:58 -07:00
Illia Silin
828f8e5554 update to rocm5.7 by default (#925)
* update to rocm5.7 by default

* fix jenkinsfile syntax

[ROCm/composable_kernel commit: 718065ebd2]
2023-09-19 09:35:45 -07:00
Illia Silin
5ee23dd30d change the cmake update method (#918)
[ROCm/composable_kernel commit: 0d8efaa13d]
2023-09-14 09:36:26 -07:00
Jun Liu
a2392f1887 [HotFix] add config and version files to pass on build info (#856)
* experiment with config file

* experiment with version.h config

* add more info to version.h

* minor updates

* minor updates

* fix case where DTYPE is not used

* large amount of files but minor changes

* remove white space

* minor changes to add more MACROs

* fix cmakedefine01

* fix issue with CK internal conflict

* fix define and define value

* fix clang-format

* fix formatting issue

* experiment with cmake

* clang format v12 to be consistent with miopen

* avoid clang-format for config file

[ROCm/composable_kernel commit: c8a8385fdd]
2023-08-23 11:36:17 -07:00
Illia Silin
02fa65753c Add the rocm5.7 RC1 compiler and use it for QA builds. (#842)
* add docker for rocm5.7 RC1

* fix rocm5.7 rc1 build

* build QA with rocm5.7 rc1 compiler

[ROCm/composable_kernel commit: 6237bd1247]
2023-08-10 09:25:21 -07:00
Illia Silin
5834ec5e00 add ninja profiling tools to the base docker (#805)
[ROCm/composable_kernel commit: 844b215d92]
2023-07-21 15:33:17 -07:00
Illia Silin
60fc996082 Upgrade default docker to ROCM5.6 release. (#778)
* upgrade default compiler to rocm5.6 release

* do daily runs with rocm5.6 instead of 5.5

[ROCm/composable_kernel commit: 7797bd3d2b]
2023-06-30 08:06:54 -07:00
Illia Silin
e0c3506afe Add rocm5.6 RC4 and rocm5.7 to docker build options. (#770)
* upgrade to rocm5.6 rc4

* add rocm5.7 docker

[ROCm/composable_kernel commit: d3adc66581]
2023-06-28 08:58:28 -05:00
Illia Silin
bf91ee0996 Fix the daily CI job with latest staging compiler. (#753)
* fix CI builds with latest staging compiler

* remove mount flags from dockerfile

[ROCm/composable_kernel commit: d1838d328c]
2023-06-14 16:44:13 -07:00
Illia Silin
bb830ae310 Update docker (#744)
* update dockerfile to build rocm5.6 rc3

* fix couple of docker issues

[ROCm/composable_kernel commit: 1dd455d633]
2023-06-07 09:35:14 -07:00