File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,20 +145,20 @@ message("hip_version_flat=${hip_VERSION_FLAT}")
145145
146146message ("checking which targets are supported" )
147147#In order to build just the CK library (without tests and examples) for all supported GPU targets
148- #use -D GPU_ARCHS="gfx908;gfx90a;gfx940;gfx941; gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201"
148+ #use -D GPU_ARCHS="gfx908;gfx90a;gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201"
149149#the GPU_TARGETS flag will be reset in this case in order to avoid conflicts.
150150#
151151#In order to build CK along with all tests and examples it should be OK to set GPU_TARGETS to just 1 or 2 similar architectures.
152152if (NOT ENABLE_ASAN_PACKAGING)
153153 if (NOT WIN32 AND ${hip_VERSION_FLAT} LESS 600300000)
154154 # WORKAROUND: compiler does not yet fully support gfx12 targets, need to fix version above
155- set (CK_GPU_TARGETS "gfx908;gfx90a;gfx940;gfx941; gfx942;gfx1030;gfx1100;gfx1101;gfx1102" )
155+ set (CK_GPU_TARGETS "gfx908;gfx90a;gfx942;gfx1030;gfx1100;gfx1101;gfx1102" )
156156 else ()
157- set (CK_GPU_TARGETS "gfx908;gfx90a;gfx940;gfx941; gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201" )
157+ set (CK_GPU_TARGETS "gfx908;gfx90a;gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201" )
158158 endif ()
159159else ()
160160 #build CK only for xnack-supported targets when using ASAN
161- set (CK_GPU_TARGETS "gfx908:xnack+;gfx90a:xnack+;gfx940:xnack+;gfx941:xnack+; gfx942:xnack+" )
161+ set (CK_GPU_TARGETS "gfx908:xnack+;gfx90a:xnack+;gfx942:xnack+" )
162162endif ()
163163
164164#if user set GPU_ARCHS on the cmake command line, overwrite default target list with user's list
Original file line number Diff line number Diff line change @@ -1101,11 +1101,11 @@ pipeline {
11011101 agent{ label rocmnode(" gfx90a" ) }
11021102 environment{
11031103 setup_args = """ -DCMAKE_INSTALL_PREFIX=../install \
1104- -DGPU_TARGETS="gfx908;gfx90a;gfx940;gfx941; gfx942" \
1104+ -DGPU_TARGETS="gfx908;gfx90a;gfx942" \
11051105 -DCMAKE_CXX_FLAGS=" -O3 " """
11061106 execute_args = """ cd ../client_example && rm -rf build && mkdir build && cd build && \
11071107 cmake -DCMAKE_PREFIX_PATH="${ env.WORKSPACE} /install;/opt/rocm" \
1108- -DGPU_TARGETS="gfx908;gfx90a;gfx940;gfx941; gfx942" \
1108+ -DGPU_TARGETS="gfx908;gfx90a;gfx942" \
11091109 -DCMAKE_CXX_COMPILER="${ build_compiler()} " \
11101110 -DCMAKE_CXX_FLAGS=" -O3 " .. && make -j """
11111111 }
@@ -1165,7 +1165,7 @@ pipeline {
11651165 execute_args = """ cmake -D CMAKE_PREFIX_PATH=/opt/rocm \
11661166 -D CMAKE_CXX_COMPILER="${ build_compiler()} " \
11671167 -D CMAKE_BUILD_TYPE=Release \
1168- -D GPU_ARCHS="gfx908;gfx90a;gfx940;gfx941; gfx942;gfx1030;gfx1100;gfx1101;gfx1102" \
1168+ -D GPU_ARCHS="gfx908;gfx90a;gfx942;gfx1030;gfx1100;gfx1101;gfx1102" \
11691169 -D CMAKE_CXX_FLAGS=" -O3 " .. && make -j64 """
11701170 }
11711171 steps{
You can’t perform that action at this time.
0 commit comments