mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
change from ninja to make (#2253)
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -1162,8 +1162,8 @@ pipeline {
|
||||
agent{ label rocmnode("gfx90a") }
|
||||
environment{
|
||||
setup_args = "NO_CK_BUILD"
|
||||
execute_args = """ ../script/cmake-ck-dev.sh ../ gfx90a -G Ninja && \
|
||||
ninja benchmark_gemm && \
|
||||
execute_args = """ ../script/cmake-ck-dev.sh ../ gfx90a && \
|
||||
make benchmark_gemm -j && \
|
||||
./bin/benchmark_gemm """
|
||||
}
|
||||
steps{
|
||||
@@ -1180,8 +1180,8 @@ pipeline {
|
||||
agent{ label rocmnode("gfx942") }
|
||||
environment{
|
||||
setup_args = "NO_CK_BUILD"
|
||||
execute_args = """ ../script/cmake-ck-dev.sh ../ gfx942 -G Ninja && \
|
||||
ninja benchmark_gemm && \
|
||||
execute_args = """ ../script/cmake-ck-dev.sh ../ gfx942 && \
|
||||
make benchmark_gemm -j && \
|
||||
./bin/benchmark_gemm """
|
||||
}
|
||||
steps{
|
||||
|
||||
@@ -6,7 +6,7 @@ CK Tile Engine GEMM is used to generate and run GEMM kernels with different comb
|
||||
|
||||
User can provide kernel configuration such as tile size, warp size, padding, pipeline, scheduler and epilogue in the config file with limited values. For reference please see `./configs/user_provided_config.json`.
|
||||
|
||||
The Tile engine also has a default kernel configuration for providing range of configuration parameter values, which helps users who lack kernel development experience to benchmark For reference please see in `./configs/default_config.json`
|
||||
The Tile engine also has a default kernel configuration for providing range of configuration parameter values, which helps users who lack kernel development experience to benchmark. For reference please see in `./configs/default_config.json`
|
||||
|
||||
If user does not provide kernel configuration, the tile engine uses default kernel configuration to generate kernel instances and benchmark.
|
||||
|
||||
@@ -15,16 +15,16 @@ If user does not provide kernel configuration, the tile engine uses default kern
|
||||
# in the root of composable kernel create build directory
|
||||
mkdir build && cd build
|
||||
# build composable kernel
|
||||
sh ../script/cmake-ck-dev.sh ../ <arch> -G Ninja # replace <arch> with the appropriate architecture (example gfx942) or leave blank
|
||||
sh ../script/cmake-ck-dev.sh ../ <arch> # replace <arch> with the appropriate architecture (example gfx942) or leave blank
|
||||
# generate the executable
|
||||
ninja benchmark_gemm
|
||||
make benchmark_gemm -j
|
||||
```
|
||||
`benchmark_gemm` will be located in the `./bin/` directory.
|
||||
|
||||
`benchmark_gemm` must be rebuilt everytime if configuration file is modified.
|
||||
|
||||
``` bash
|
||||
rm -rf tile_engine/ && ninja benchmark_gemm # rebuild
|
||||
rm -rf tile_engine/ && make benchmark_gemm -j # rebuild
|
||||
```
|
||||
|
||||
## benchmark_gemm inputs
|
||||
|
||||
Reference in New Issue
Block a user