Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit f8e34a2

Browse files
authored
add dnnl to the link library, some kernels need onednn (#224)
Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
1 parent ff32dc4 commit f8e34a2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build2cmake/src/templates/xpu/torch-extension.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ define_gpu_extension_target(
99

1010
# Add XPU/SYCL specific linker flags
1111
target_link_options({{ ops_name }} PRIVATE ${sycl_link_flags})
12+
target_link_libraries({{ ops_name }} PRIVATE dnnl)

0 commit comments

Comments
 (0)