-
Notifications
You must be signed in to change notification settings - Fork 769
[CI] Move testing to Ubuntu 24.04 everywhere #16463
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
Conversation
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Sorry for force push, got rid of changes that were merged as part of other PRs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we address new warnings in a separate PR and remove --cmake-opt=-DCMAKE_CXX_FLAGS="-Wno-mismatched-new-delete"
from .github/workflows/sycl-post-commit.yml
, it will be perfect PR. :)
|
@sarnex, don't forget to update the PR description. |
Yeah I probably should have done that, for some reason I thought I should drop the cherry-picked commit but merge probably would have done the right thing.
will do thx |
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Fixed the following warning when DPC++ is built in Release mode with gcc 13: ``` In member function 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = char]', inlined from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = char; _Dp = std::default_delete<char>]' at /usr/include/c++/13/bits/unique_ptr.h:404:17, inlined from 'static std::unique_ptr<char> sycl::_V1::detail::ZSTDCompressor::DecompressBlob(const char*, size_t, size_t&)' at /tmp/llvm/sycl/source/detail/compression.hpp:139:3, inlined from 'void sycl::_V1::detail::CompressedRTDeviceBinaryImage::Decompress()' at /tmp/llvm/sycl/source/detail/device_binary_image.cpp:258:54: /usr/include/c++/13/bits/unique_ptr.h:99:9: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete] 99 | delete __ptr; | ^~~~~~~~~~~~ In file included from /tmp/llvm/sycl/source/detail/device_binary_image.cpp:13: In static member function 'static std::unique_ptr<char> sycl::_V1::detail::ZSTDCompressor::DecompressBlob(const char*, size_t, size_t&)', inlined from 'void sycl::_V1::detail::CompressedRTDeviceBinaryImage::Decompress()' at /tmp/llvm/sycl/source/detail/device_binary_image.cpp:258:54: /tmp/llvm/sycl/source/detail/compression.hpp:119:66: note: returned from 'void* operator new [](std::size_t)' 119 | auto dstBuffer = std::unique_ptr<char>(new char[dstBufferSize]); ``` Found in: #16463 (comment)
@uditagarwal97 Build is passing when merging in your warning fix, mind reviewing again? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI changes LGTM.
…16483) Fixed the following warning when DPC++ is built in Release mode with gcc 13: ``` In member function 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = char]', inlined from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = char; _Dp = std::default_delete<char>]' at /usr/include/c++/13/bits/unique_ptr.h:404:17, inlined from 'static std::unique_ptr<char> sycl::_V1::detail::ZSTDCompressor::DecompressBlob(const char*, size_t, size_t&)' at /tmp/llvm/sycl/source/detail/compression.hpp:139:3, inlined from 'void sycl::_V1::detail::CompressedRTDeviceBinaryImage::Decompress()' at /tmp/llvm/sycl/source/detail/device_binary_image.cpp:258:54: /usr/include/c++/13/bits/unique_ptr.h:99:9: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete] 99 | delete __ptr; | ^~~~~~~~~~~~ In file included from /tmp/llvm/sycl/source/detail/device_binary_image.cpp:13: In static member function 'static std::unique_ptr<char> sycl::_V1::detail::ZSTDCompressor::DecompressBlob(const char*, size_t, size_t&)', inlined from 'void sycl::_V1::detail::CompressedRTDeviceBinaryImage::Decompress()' at /tmp/llvm/sycl/source/detail/device_binary_image.cpp:258:54: /tmp/llvm/sycl/source/detail/compression.hpp:119:66: note: returned from 'void* operator new [](std::size_t)' 119 | auto dstBuffer = std::unique_ptr<char>(new char[dstBufferSize]); ``` Found in: intel#16463 (comment)
Fixed the following warning when DPC++ is built in Release mode with gcc 13: ``` In member function 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = char]', inlined from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = char; _Dp = std::default_delete<char>]' at /usr/include/c++/13/bits/unique_ptr.h:404:17, inlined from 'static std::unique_ptr<char> sycl::_V1::detail::ZSTDCompressor::DecompressBlob(const char*, size_t, size_t&)' at /tmp/llvm/sycl/source/detail/compression.hpp:139:3, inlined from 'void sycl::_V1::detail::CompressedRTDeviceBinaryImage::Decompress()' at /tmp/llvm/sycl/source/detail/device_binary_image.cpp:258:54: /usr/include/c++/13/bits/unique_ptr.h:99:9: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete] 99 | delete __ptr; | ^~~~~~~~~~~~ In file included from /tmp/llvm/sycl/source/detail/device_binary_image.cpp:13: In static member function 'static std::unique_ptr<char> sycl::_V1::detail::ZSTDCompressor::DecompressBlob(const char*, size_t, size_t&)', inlined from 'void sycl::_V1::detail::CompressedRTDeviceBinaryImage::Decompress()' at /tmp/llvm/sycl/source/detail/device_binary_image.cpp:258:54: /tmp/llvm/sycl/source/detail/compression.hpp:119:66: note: returned from 'void* operator new [](std::size_t)' 119 | auto dstBuffer = std::unique_ptr<char>(new char[dstBufferSize]); ``` Found in: #16463 (comment) This is a cherry-pick of #16483 Patch-by: Udit Kumar Agarwal <udit.agarwal@intel.com>
Move testing to Ubuntu 24.04, as 22.04 support is being dropped in various places.
Also, clean up the
oneAPI
image to not copy-paste the normalbuild
image.I didn't change the nightly to publish 24.04 images (but it uses them for testing) because users might actually use that and I don't want to break them.