mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-05 22:22:27 +00:00
* tuning para, * testing on v100 * add fp16 * remove deprecated tensor descriptor * sync with miopen * update build script Co-authored-by: Jing Zhang <jizhan@amd.com>
20 lines
998 B
Bash
Executable File
20 lines
998 B
Bash
Executable File
#!/bin/bash
|
|
rm -f CMakeCache.txt
|
|
rm -f *.cmake
|
|
rm -rf CMakeFiles
|
|
|
|
MY_PROJECT_SOURCE=../../../
|
|
MY_PROJECT_INSTALL=../install.dir
|
|
|
|
cmake \
|
|
-D CMAKE_INSTALL_PREFIX=${MY_PROJECT_INSTALL} \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D DEVICE_BACKEND="AMD" \
|
|
-D CMAKE_CXX_FLAGS="--amdgpu-target=gfx906" \
|
|
-D CMAKE_CXX_COMPILER=/opt/rocm/hip/bin/hipcc \
|
|
-D CMAKE_PREFIX_PATH="/opt/rocm" \
|
|
-D CMAKE_VERBOSE_MAKEFILE:BOOL=ON \
|
|
${MY_PROJECT_SOURCE}
|
|
|
|
#-D CMAKE_CXX_FLAGS="-gline-tables-only -v --amdgpu-target=gfx906" \
|