Skip to content

[SYCL] Allow library mismatch for libdevice host object on Win32 #5048

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

Merged
merged 3 commits into from
Dec 14, 2021

Conversation

jinge90
Copy link
Contributor

@jinge90 jinge90 commented Nov 30, 2021

VC++ yvals.h header file sets up linker directives like this:
/FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease

This will break linking, if the final standard libraries linked
to the program have different configuration. Since the host part
of libdevice objects is empty, we do not care about the mismatch
checking.

Signed-off-by: jinge90 ge.jin@intel.com

@jinge90 jinge90 requested a review from vzakhari as a code owner November 30, 2021 08:35
VC++ yvals.h header file sets up linker directives like this:
  /FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease

This will break linking, if the final standard libraries linked
to the program have different configuration. Since the host part
of libdevice objects is empty, we do not care about the mismatch
checking.

Signed-off-by: jinge90 <ge.jin@intel.com>
Signed-off-by: jinge90 <ge.jin@intel.com>
@jinge90
Copy link
Contributor Author

jinge90 commented Dec 9, 2021

/summary

@jinge90
Copy link
Contributor Author

jinge90 commented Dec 9, 2021

/summary:run

Signed-off-by: jinge90 <ge.jin@intel.com>
@jinge90 jinge90 requested a review from bader December 10, 2021 13:25
@jinge90
Copy link
Contributor Author

jinge90 commented Dec 10, 2021

Hi, @vzakhari
Could you help review the patch again?
Thanks very much.

@bader bader requested a review from vzakhari December 10, 2021 18:16
Copy link
Contributor

@vzakhari vzakhari left a comment

Choose a reason for hiding this comment

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

Hi Ge, I am very sorry for such a huge delay. I am not sure how it went under the radar.

@bader bader merged commit 57255ce into intel:sycl Dec 14, 2021
alexbatashev added a commit to alexbatashev/llvm that referenced this pull request Dec 14, 2021
* sycl:
  [CI] Refactor workflow files (intel#5134)
  [CI] Enable HIP and CUDA plugins in GitHub Actions builds (intel#5087)
  [SYCL] Implement queue flushing (intel#5052)
  [SYCL] Allow library mismatch for libdevice host object on Win32 (intel#5048)
  [SYCL] Remove unnecessary template parameter (intel#5127)
  [CI] Use clang-format from nightly builds (intel#5126)
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.

3 participants