8000
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 5008d15 commit bc1708eCopy full SHA for bc1708e
caffe2/CMakeLists.txt
@@ -1034,6 +1034,10 @@ if(USE_XPU)
1034
add_library(torch_xpu ${Caffe2_XPU_SRCS})
1035
torch_compile_options(torch_xpu) # see cmake/public/utils.cmake
1036
target_compile_definitions(torch_xpu PRIVATE USE_XPU)
1037
+
1038
+ if(WIN32)
1039
+ target_compile_options(torch_xpu PRIVATE /permissive-)
1040
+ endif()
1041
1042
# ATen XPU implementation
1043
set(TORCH_XPU_OPS_DIR ${TORCH_ROOT}/third_party/torch-xpu-ops)
0 commit comments