We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dea537b commit 97d588cCopy full SHA for 97d588c
cmake/platform.cmake
@@ -437,7 +437,10 @@ if (DNNL_TARGET_ARCH STREQUAL "RV64")
437
# Check if the RVV Intrinsics can be compiled with the current toolchain and flags
438
include(CheckCXXSourceCompiles)
439
check_cxx_source_compiles("#include <riscv_vector.h>
440
- int main() { return 0; };"
+ int main() {
441
+ size_t size = 64;
442
+ return vsetvl_e32m2(size);
443
+ };"
444
CAN_COMPILE_RVV_INTRINSICS
445
)
446
# set CAN_COMPILE_RVV_INTRINSICS to TRUE / FALSE instead of 1 / "" (Undefined)
0 commit comments