Skip to content

Commit

Permalink
[RV64] Added OMP support
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sidorova authored and xczhai committed Dec 26, 2024
1 parent d042622 commit 70f911d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpu/rv64/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ if(NOT DNNL_RISCV_USE_RVV_INTRINSICS)
endif()
endif()

if(NOT DNNL_CPU_RUNTIME STREQUAL "SEQ")
message(FATAL_ERROR "Only sequential runtime is now supported for a RISC-V CPU")
if(NOT (DNNL_CPU_RUNTIME STREQUAL "SEQ" OR DNNL_CPU_RUNTIME STREQUAL "OMP"))
message(FATAL_ERROR "Only sequential runtime and OpenMP runtime are now supported for a RISC-V CPU")
endif()

# Build sources into an object library
Expand Down

0 comments on commit 70f911d

Please sign in to comment.