mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 14:59:17 +00:00
[CK_BUILDER] old ck build fixes (#3075)
* Disable c++20-compat warnings when building old CK in C++20 mode Turns out that this creates some warnings for no good reason. * ck-builder: add missing layouts and element-wise op names For layouts, we can directly use the ::name attribute, which should cover all layouts. For element-wise ops, I just added the ones which are currently missing when compiling CK with -DMIOPEN_REQ_LIBS_ONLY.
This commit is contained in:
@@ -99,6 +99,9 @@ else()
|
||||
-Wno-unused-lambda-capture
|
||||
-Wno-nvcc-compat
|
||||
)
|
||||
if(CK_CXX_STANDARD GREATER_EQUAL 20)
|
||||
list(APPEND CMAKE_COMPILER_WARNINGS -Wno-c++20-compat)
|
||||
endif()
|
||||
else()
|
||||
if (CMAKE_${COMPILER}_COMPILER_ID MATCHES "GNU" AND ${COMPILER} MATCHES "CXX")
|
||||
# cmake 3.5.2 does not support >=.
|
||||
|
||||
Reference in New Issue
Block a user