Skip to content

[ESIMD] Disable ABI changes warnings in host compiler. #5931

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 1 commit into from
Mar 31, 2022

Conversation

kbobrovs
Copy link
Contributor

Signed-off-by: Konstantin S Bobrovsky konstantin.s.bobrovsky@intel.com

@kbobrovs kbobrovs requested a review from a team as a code owner March 30, 2022 23:12
@kbobrovs kbobrovs force-pushed the esimd_off_host_abi_warn branch from 9811a1e to c4ecc71 Compare March 30, 2022 23:38
Signed-off-by: Konstantin S Bobrovsky <konstantin.s.bobrovsky@intel.com>
@@ -71,6 +71,14 @@

/// @} sycl_esimd

// TODO Disable "changes ABI" warnings emitted by host compiler, because ESIMD
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. Can you given an example of the warning that you see?
  2. Can't this mask potential problems with ABI differences when we use std library funcs, or something like that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

.../sycl/include/sycl/ext/intel/esimd/detail/simd_obj_impl.hpp:226:15: warning: AVX vector return of type 'cl::sycl::ext::intel::esimd::detail::simd_obj_impl<unsigned long, 16, cl::sycl::ext::intel::esimd::simd<unsigned long, 16>>::raw_vector_type' (aka 'cl::sycl::ext::intel::esimd::detail::raw_vector_type<unsigned long, 16>::type') without 'avx512f' enabled changes the ABI [-Wpsabi]
    set(other.data());
              ^
  1. No. I tried to explain why in the comment.

@kbobrovs kbobrovs requested a review from sndmitriev March 31, 2022 04:38
@kbobrovs kbobrovs merged commit 6a70d9a into intel:sycl Mar 31, 2022
@kbobrovs kbobrovs deleted the esimd_off_host_abi_warn branch March 31, 2022 15:22
alexbatashev added a commit to alexbatashev/llvm that referenced this pull request Apr 2, 2022
* sycl: (3343 commits)
  [SYCL][L0] Disable round-robin submissions to multiple CCSs (intel#5945)
  [SYCL][CUDA] Don't link pi_cuda against libsycl (intel#5908)
  [CI] Disable -Werror by default (intel#5889)
  [BuildBot] Uplift CPU/FPGAEMU RT version to 2022.13.3.0.16 (intel#5883)
  [SYCL][CUDA][libclc] Add support for atomic fp exchange and compare exchange (intel#5937)
  [SYCL] Fix device code outlining for static local variables (intel#5915)
  [SYCL][NFC] Refactor plugin CMakeLists.txt (intel#5799)
  [SPIR-V][Doc] Add JointMatrixWorkItemLengthINTEL instruction to joint matrix extension (intel#5781)
  [SYCL] Expand device_global map and make initialization order agnostic (intel#5902)
  [SYCL][CUDA] Add IPSCCP pass to O0 by default (intel#5900)
  [ESIMD] Disable ABI changes warnings in host compiler. (intel#5931)
  [SYCL] Make properties constructor constexpr (intel#5928)
  [NFC][SYCL] Fix static analysis warning (intel#5933)
  [CODEOWNERS][NFC] Assign code owners for CI scripts (intel#5873)
  [SYCL] Store the kernel object size in the integration header (intel#5862)
  [SYCL][ESIMD] Change esimd-verifier logic for detecting valid SYCL calls (intel#5914)
  [SYCL][CUDA][DOC] GettingStartedGuide.md to recommend cuda 11.6 (intel#5917)
  [SYCL][L0] Move command list cache usage under mutex (intel#5874)
  [SYCL][FPGA] Prepare future implementation of experimental pipe properties (intel#5886)
  [CI] Roll back intel driver to the latest version (intel#5925)
  ...
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