We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ce2d72 commit c60a994Copy full SHA for c60a994
cmake/platform.cmake
@@ -419,7 +419,10 @@ if (DNNL_TARGET_ARCH STREQUAL "RV64")
419
# Check if the RVV Intrinsics can be compiled with the current toolchain and flags
420
include(CheckCXXSourceCompiles)
421
check_cxx_source_compiles("#include <riscv_vector.h>
422
- int main() { return 0; };"
+ int main() {
423
+ size_t size = 64;
424
+ return vsetvl_e32m2(size);
425
+ };"
426
CAN_COMPILE_RVV_INTRINSICS
427
)
428
# set CAN_COMPILE_RVV_INTRINSICS to TRUE / FALSE instead of 1 / "" (Undefined)
0 commit comments