Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MSVC flag #945

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add MSVC flag #945

wants to merge 3 commits into from

Conversation

ratnampa
Copy link

No description provided.

@ratnampa ratnampa changed the title Add MSVC flag and oneAPI compatibility Add MSVC flag Sep 27, 2024
@@ -24,6 +24,7 @@ add_library(
${ATen_XPU_GEN_SRCS})
install(TARGETS torch_xpu_ops_aten DESTINATION "${TORCH_INSTALL_LIB_DIR}")
# target_compile_definitions(torch_xpu_ops_aten PRIVATE CAFFE2_BUILD_MAIN_LIB)
target_compile_options(torch_xpu_ops_aten PRIVATE /permissive-)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the usage? Could you elaborate the add in the description of the commit.

@fengyuan14
Copy link
Contributor

Should be a duplicate PR. #943 I saw the related issue. Thanks. I will close the PR, once #943 is merged.

@fengyuan14
Copy link
Contributor

Should be a duplicate PR. #943 I saw the related issue. Thanks. I will close the PR, once #943 is merged.

I checked the internal JIRA of the issue. Compiler team said it is a WA for the building error. Could you describe the issue and mark the change as a WA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants