We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 720661e commit 598e911Copy full SHA for 598e911
src/CMakeLists.txt
@@ -81,10 +81,11 @@ if(DNNL_EXPERIMENTAL_SPARSE)
81
endif()
82
83
if(DNNL_EXPERIMENTAL_UKERNEL)
84
- if(DNNL_TARGET_ARCH STREQUAL "ARCH_GENERIC")
85
- message(FATAL_ERROR "ukernel API does not support generic architecture.")
+ if(DNNL_TARGET_ARCH STREQUAL "X64" OR DNNL_TARGET_ARCH STREQUAL "AARCH64")
+ message(STATUS "Experimental functionality for ukernels is enabled")
86
+ else()
87
+ message(FATAL_ERROR "ukernel API isn't supported for ${DNNL_TARGET_ARCH}.")
88
- message(STATUS "Experimental functionality for ukernels is enabled")
89
90
91
if(DNNL_EXPERIMENTAL_PROFILING)
0 commit comments