Skip to content

Commit 204aa34

Browse files
committed
riscv64: update cmake
Signed-off-by: Zhang fei <zhangfei@iscas.ac.cn>
1 parent 43e1b4a commit 204aa34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/platform.cmake

+1-2
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,7 @@ if (DNNL_TARGET_ARCH STREQUAL "RV64")
474474
475475
#include <riscv_vector.h>
476476
int main() {
477-
size_t size = 64;
478-
return __riscv_vsetvl_e32m2(size);
477+
return 0;
479478
};"
480479
CAN_COMPILE_RVV_INTRINSICS
481480
)

0 commit comments

Comments
 (0)