Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ foreach(SOURCE_FILE ${SOURCES_EXTRA})
list(APPEND SOURCES "${SOURCE_FILE}")
endforeach()

if((DNNL_TARGET_ARCH STREQUAL "X64") OR (DNNL_TARGET_ARCH STREQUAL "AARCH64"))
if((DNNL_TARGET_ARCH STREQUAL "X64") OR (DNNL_TARGET_ARCH STREQUAL "AARCH64") OR (DNNL_TARGET_ARCH STREQUAL "RV64"))
file(GLOB_RECURSE SOURCES_JIT_UTILS
${CMAKE_CURRENT_SOURCE_DIR}/jit_utils/*.[ch]
${CMAKE_CURRENT_SOURCE_DIR}/jit_utils/*.[ch]pp
Expand Down
7 changes: 7 additions & 0 deletions src/cpu/cpu_convolution_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ using namespace dnnl::impl::cpu::aarch64;
#include "cpu/acl/acl_indirect_gemm_convolution.hpp"
#include "cpu/acl/acl_winograd_convolution.hpp"
using namespace dnnl::impl::cpu::acl;
#elif DNNL_RV64
#include "cpu/rv64/rvv_gemm_convolution.hpp"
using namespace dnnl::impl::cpu::rv64;
#endif

namespace dnnl {
Expand Down Expand Up @@ -175,6 +178,10 @@ const std::map<pk_dt_impl_key_t, std::vector<impl_list_item_t>> &impl_list_map()
CPU_INSTANCE_AARCH64(brgemm_1x1_convolution_fwd_t, sve_128)
CPU_INSTANCE_AARCH64(brgemm_convolution_fwd_t, sve_128)
// CPU_INSTANCE_X64(jit_uni_ncsp_convolution_fwd_t)

CPU_INSTANCE_RV64GCV(riscv_gemm_convolution_fwd_t)


CPU_INSTANCE(gemm_convolution_fwd_t)
CPU_INSTANCE(ref_convolution_fwd_t)
CPU_INSTANCE(ref_fused_convolution_fwd_t)
Expand Down
Loading