We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b084c6 commit 8c398e3Copy full SHA for 8c398e3
src/BuildOnWindows.cmake
@@ -43,6 +43,7 @@ if(BUILD_SEPARATE_OPS)
43
${sycl_lib}
44
SHARED
45
SYCL_SOURCES ${sycl_src})
46
+ target_compile_definitions(${sycl_lib} PRIVATE TORCH_XPU_BUILD_MAIN_LIB)
47
target_link_libraries(torch_xpu_ops PUBLIC ${sycl_lib})
48
list(APPEND TORCH_XPU_OPS_LIBRARIES ${sycl_lib})
49
0 commit comments