You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix warnings in building libDPPLSyclInterface (#155)
This PR fixes all the currently reported warnings for the libDPPLSyclInterface and suppresses tp_print related warnings when building the Cython module.
* Enable warning flags to CXX_FLAGS.
* Add __attribute__((unused)) to wrap/unwrap functions.
-- Wrap/unwrap functions are imported using the same macro and
both versions are not necessarily used in the same file.
Adding this attribute prevents a flood of warning.
* Remove unused variables.
* Initialize before use.
* Fix signed comparison warnings.
* Some formatting changes.
* fix warnings about comparing signed with unsigned
* Remove option not known to MSVC.
* Silence strncpy deprecation warning on Windows.
* Suppress tp_print deprecation warning flood on Linux.
* Update changelog.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ All notable changes to this project will be documented in this file.
6
6
- Device descriptors "max_compute_units", "max_work_item_dimensions", "max_work_item_sizes", "max_work_group_size", "max_num_sub_groups" and "aspects" for int64 atomics inside dpctl C API and inside the dpctl.SyclDevice class.
7
7
- MemoryUSM* classes moved to `dpctl.memory` module, added support for aligned allocation, added support for `prefetch` and `mem_advise` (sychronous) methods, implemented `copy_to_host`, `copy_from_host` and `copy_from_device` methods, pickling support, and zero-copy interoperability with Python objects which implement `__sycl_usm_array_inerface__` protocol.
8
8
9
+
### Fixed
10
+
- Compiler warnings when building libDPPLSyclInterface and the Cython extensions.
0 commit comments